aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/obj3d.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-26 06:49:51 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-26 06:49:51 +0100
commitf63febed2a769d0c55192e192a20b8e39f162932 (patch)
treef12fef4643e03e93363f902e35d06ef92dd8350d /src/o3d/obj3d.h
parent97f4e5c80483255912b177e6a2557344da499a3e (diff)
downloadengine-f63febed2a769d0c55192e192a20b8e39f162932.tar.gz
improved matrices, cube building and command parsing
Diffstat (limited to 'src/o3d/obj3d.h')
-rw-r--r--src/o3d/obj3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/o3d/obj3d.h b/src/o3d/obj3d.h
index 559ed63..c65a06b 100644
--- a/src/o3d/obj3d.h
+++ b/src/o3d/obj3d.h
@@ -30,6 +30,8 @@ class Object3D {
};
+ static Object3D cube(); // this function should not be in this file
+
Object3D(std::vector<Vertex3> pts, std::vector<std::array<int, 3>> faces);
TriangleVertex3Iterator begin();
TriangleVertex3Iterator end();