aboutsummaryrefslogtreecommitdiff
path: root/08-august/src/renderer/entity.h
blob: ba330043ea5a5fa545356ae0732835ab462492ef (plain)
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;
    GLuint texture;
    vec3_t position;
    float rotX, rotY, rotZ;
} entity_t;

extern mat4_t Entity_GetModelTransform(entity_t* entity);

#endif // ENTITY_H