mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add ModelBatch.translate(...), .rotate(...), .scale(...)
This commit is contained in:
parent
8e26ead76c
commit
a9640fff36
3 changed files with 25 additions and 6 deletions
|
|
@ -74,6 +74,10 @@ public:
|
|||
ModelBatch(size_t capacity, Assets* assets, Chunks* chunks);
|
||||
~ModelBatch();
|
||||
|
||||
void translate(glm::vec3 vec);
|
||||
void rotate(glm::vec3 axis, float angle);
|
||||
void scale(glm::vec3 vec);
|
||||
|
||||
void pushMatrix(glm::mat4 matrix);
|
||||
void popMatrix();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue