summaryrefslogtreecommitdiff
path: root/src/model.h
blob: aed360d122d9546e2ec00bd92b8c26f7dcb09868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "defs.h"
#include "fixed.h"
#include "vertex.h"
#include "triangle.h"
#include "pt.h"

#ifndef MODEL_H
#define MODEL_H

typedef struct MODEL {
    VERTEX *vertices;
    int vertices_length;
    TRIANGLE *triangles;
    int triangles_length;
    VERTEX bounds_center;
} MODEL;

void initializeCube();
void destroyModel();

#endif // MODEL_H