1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef ENTITY_H #define ENTITY_H #include "../math/vector3f.h" #include "../math/matrix4x4.h" #include "shape.h" #include "../texture.h" typedef struct { shape_t *shape; texture_t *texture; vec3_t position; float rotX, rotY, rotZ; } entity_t; extern mat4_t Entity_GetModelTransform(entity_t* entity); #endif // ENTITY_H