summaryrefslogtreecommitdiff
path: root/src/model.h
diff options
context:
space:
mode:
authorSimponic <loganthebean222@gmail.com>2020-08-04 23:36:21 -0600
committerSimponic <loganthebean222@gmail.com>2020-08-04 23:36:21 -0600
commitebd81999b71ada201a316060fa47a7a66a277935 (patch)
tree930be8337e1144ba227bedb3e72e4473309c28e8 /src/model.h
parentb323ae0ca067deb0a48e3d9088160383d698a28f (diff)
downloadsimple3dengine-ebd81999b71ada201a316060fa47a7a66a277935.tar.gz
simple3dengine-ebd81999b71ada201a316060fa47a7a66a277935.zip
Added files
Diffstat (limited to 'src/model.h')
-rw-r--r--src/model.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/model.h b/src/model.h
new file mode 100644
index 0000000..aed360d
--- /dev/null
+++ b/src/model.h
@@ -0,0 +1,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