diff options
Diffstat (limited to 'src/instance.h')
-rw-r--r-- | src/instance.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/instance.h b/src/instance.h new file mode 100644 index 0000000..c9be41d --- /dev/null +++ b/src/instance.h @@ -0,0 +1,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 |