mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
renamed stuff
This commit is contained in:
@@ -38,7 +38,7 @@ namespace omath::primitives
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
Vbo m_vertex_buffer;
|
Vbo m_vertex_buffer;
|
||||||
Ebo m_vertex_array_object;
|
Ebo m_element_buffer_object;
|
||||||
|
|
||||||
Mesh(Vbo vbo, Ebo vao,
|
Mesh(Vbo vbo, Ebo vao,
|
||||||
const VectorType scale =
|
const VectorType scale =
|
||||||
@@ -47,7 +47,7 @@ namespace omath::primitives
|
|||||||
1,
|
1,
|
||||||
1,
|
1,
|
||||||
})
|
})
|
||||||
: m_vertex_buffer(std::move(vbo)), m_vertex_array_object(std::move(vao)), m_scale(std::move(scale))
|
: m_vertex_buffer(std::move(vbo)), m_element_buffer_object(std::move(vao)), m_scale(std::move(scale))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
void set_origin(const VectorType& new_origin)
|
void set_origin(const VectorType& new_origin)
|
||||||
|
|||||||
Reference in New Issue
Block a user