aboutsummaryrefslogtreecommitdiff
#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