diff --git a/include/omath/3d_primitives/mesh.hpp b/include/omath/3d_primitives/mesh.hpp index 2c82e6f..aa2f4d3 100644 --- a/include/omath/3d_primitives/mesh.hpp +++ b/include/omath/3d_primitives/mesh.hpp @@ -30,6 +30,7 @@ namespace omath::primitives public: using NumericType = float; using VertexType = VertType; + private: using Vbo = std::vector; using Vao = std::vector>; @@ -97,6 +98,7 @@ namespace omath::primitives [[nodiscard]] Vector3 vertex_to_world_space(const Vector3& vertex_position) const + requires HasPosition { auto abs_vec = get_to_world_matrix() * mat_column_from_vector(vertex_position);