mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 10:34:16 +00:00
fix(primitives/cube.hpp): change type to list
This commit is contained in:
@@ -28,4 +28,4 @@ void main()
|
|||||||
{
|
{
|
||||||
vec4 texColor = texture(material.diffuse , TexCoords);
|
vec4 texColor = texture(material.diffuse , TexCoords);
|
||||||
FragColor = texColor;
|
FragColor = texColor;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,8 +59,8 @@ constexpr unsigned int INDICE[] = {
|
|||||||
22, 23, 20 // 12
|
22, 23, 20 // 12
|
||||||
};
|
};
|
||||||
|
|
||||||
extern unsigned char *__res_render_primitives_cube_frag;
|
extern unsigned char cube_frag[];
|
||||||
extern unsigned char *__res_render_primitives_cube_vert;
|
extern unsigned int cube_frag_len;
|
||||||
|
|
||||||
extern unsigned int __res_render_primitives_cube_frag_len;
|
extern unsigned char cube_vert[];
|
||||||
extern unsigned int __res_render_primitives_cube_vert_len;
|
extern unsigned int cube_vert_len;
|
||||||
@@ -19,4 +19,4 @@ void main()
|
|||||||
|
|
||||||
Normal = mat3(transpose(inverse(model)))*aNormal;
|
Normal = mat3(transpose(inverse(model)))*aNormal;
|
||||||
TexCoords = aTexCoords;
|
TexCoords = aTexCoords;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user