diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-24 18:19:42 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-24 18:19:42 -0700 |
commit | ebc517c800a90f6f0ed157e5c3bd7c3bd18165b5 (patch) | |
tree | 781ab3e1aca5444fc0cdec56cb8c5b479d59c492 /src/cube.cpp | |
parent | 9e35115be8950e2891232027aaf4bef7be44ace2 (diff) | |
download | gbarubik-ebc517c800a90f6f0ed157e5c3bd7c3bd18165b5.tar.gz gbarubik-ebc517c800a90f6f0ed157e5c3bd7c3bd18165b5.zip |
base 3d uml setup
Diffstat (limited to 'src/cube.cpp')
-rw-r--r-- | src/cube.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cube.cpp b/src/cube.cpp new file mode 100644 index 0000000..fddc601 --- /dev/null +++ b/src/cube.cpp @@ -0,0 +1,6 @@ +#include "cube.hpp" + +Cube::Cube() { + for (std::uint8_t i = 0; i < 8; ++i) + m_vertices.add({(i >> 2) & 1, (i >> 1) & 1, i & 1}); +} |