Proposed Model struct review
This commit is contained in:
parent
2e99c6cefb
commit
2f97a3f835
|
|
@ -342,6 +342,15 @@ typedef struct Model {
|
||||||
Mesh mesh; // Vertex data buffers (RAM and VRAM)
|
Mesh mesh; // Vertex data buffers (RAM and VRAM)
|
||||||
Matrix transform; // Local transform matrix
|
Matrix transform; // Local transform matrix
|
||||||
Material material; // Shader and textures data
|
Material material; // Shader and textures data
|
||||||
|
/*
|
||||||
|
Mesh *meshes; // Vertex data buffers (RAM and VRAM)
|
||||||
|
int meshCount;
|
||||||
|
|
||||||
|
Material *materials; // Shader and textures data
|
||||||
|
int materialCount;
|
||||||
|
|
||||||
|
int *meshMaterial; // Material assigned to every mesh
|
||||||
|
*/
|
||||||
} Model;
|
} Model;
|
||||||
|
|
||||||
// Ray type (useful for raycast)
|
// Ray type (useful for raycast)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user