From ebd81999b71ada201a316060fa47a7a66a277935 Mon Sep 17 00:00:00 2001 From: Simponic Date: Tue, 4 Aug 2020 23:36:21 -0600 Subject: Added files --- src/instance.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/instance.h (limited to 'src/instance.h') 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 +#include + +#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 -- cgit v1.2.3-70-g09d2