mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 18:09:46 +00:00
add ModelBuilder
This commit is contained in:
parent
8fc83c08e2
commit
3cb388eef0
3 changed files with 159 additions and 25 deletions
|
|
@ -40,6 +40,14 @@ namespace model {
|
|||
const glm::vec3& norm,
|
||||
const UVRegion& region
|
||||
);
|
||||
void addRect(
|
||||
const glm::vec3& pos,
|
||||
const glm::vec3& right,
|
||||
const glm::vec3& up,
|
||||
const glm::vec3& norm,
|
||||
const UVRegion& uv,
|
||||
const glm::mat4& transform
|
||||
);
|
||||
void addTriangle(
|
||||
const glm::vec3& a,
|
||||
const glm::vec3& b,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue