summary refs log tree commit diff
path: root/src/Mesh.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-10-02 04:34:18 +0200
committerMel <einebeere@gmail.com>2022-10-02 04:34:18 +0200
commit3b289a2f75b6e96735519a65d93b6babd1b1759f (patch)
tree27cfffa0d8fe85b96f380362ab0a2ffc367a1a6b /src/Mesh.hpp
parent46ab7c6c8af19dcf537cab25aa468f4afc403940 (diff)
downloadmeowcraft-3b289a2f75b6e96735519a65d93b6babd1b1759f.tar.zst
meowcraft-3b289a2f75b6e96735519a65d93b6babd1b1759f.zip
Expand Vector and Matrix classes
Diffstat (limited to 'src/Mesh.hpp')
-rw-r--r--src/Mesh.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mesh.hpp b/src/Mesh.hpp
index acf4f3b..a6d80d3 100644
--- a/src/Mesh.hpp
+++ b/src/Mesh.hpp
@@ -9,12 +9,12 @@ namespace MC {
 
 class Mesh {
 public:
-    Mesh(std::vector<Vector3> positions) : m_positions(std::move(positions)) {};
+    Mesh(std::vector<Vector<3>> positions) : m_positions(std::move(positions)) {};
 
     std::size_t size();
     float* flat();
 private:
-    std::vector<Vector3> m_positions;
+    std::vector<Vector<3>> m_positions;
 };
 
 }
\ No newline at end of file