diff options
author | vimene <vincent.menegaux@gmail.com> | 2023-11-26 06:49:51 +0100 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2023-11-26 06:49:51 +0100 |
commit | f63febed2a769d0c55192e192a20b8e39f162932 (patch) | |
tree | f12fef4643e03e93363f902e35d06ef92dd8350d /src/o3d/obj3d.h | |
parent | 97f4e5c80483255912b177e6a2557344da499a3e (diff) | |
download | engine-f63febed2a769d0c55192e192a20b8e39f162932.tar.gz |
improved matrices, cube building and command parsing
Diffstat (limited to 'src/o3d/obj3d.h')
-rw-r--r-- | src/o3d/obj3d.h | 2 |
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(); |