Skip to content

Commit bf30957

Browse files
committed
renamed stuff
1 parent c9ac619 commit bf30957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/omath/3d_primitives/mesh.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace omath::primitives
3838

3939
public:
4040
Vbo m_vertex_buffer;
41-
Ebo m_vertex_array_object;
41+
Ebo m_element_buffer_object;
4242

4343
Mesh(Vbo vbo, Ebo vao,
4444
const VectorType scale =
@@ -47,7 +47,7 @@ namespace omath::primitives
4747
1,
4848
1,
4949
})
50-
: m_vertex_buffer(std::move(vbo)), m_vertex_array_object(std::move(vao)), m_scale(std::move(scale))
50+
: m_vertex_buffer(std::move(vbo)), m_element_buffer_object(std::move(vao)), m_scale(std::move(scale))
5151
{
5252
}
5353
void set_origin(const VectorType& new_origin)

0 commit comments

Comments
 (0)