summaryrefslogtreecommitdiff
path: root/src/instance.h
blob: c9be41d721ed946f554ebcecd0902479292fb155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "defs.h"
#include "pt.h"
#include "vertex.h"
#include "triangle.h"
#include "model.h"
#include <math.h>
#include <stdlib.h>

#ifndef INSTANCE_H
#define INSTANCE_H

typedef struct INSTANCE {
    MODEL *model;
    VERTEX *position;
    FIXED scale;
    FIXED *xRotation;
    FIXED *yRotation;
    FIXED *zRotation;
} INSTANCE;

void renderInstance();
void destroyInstance();

#endif // INSTANCE_H