mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
add triangle vcm shape - 'tri'
This commit is contained in:
parent
97d2623a06
commit
79bf3a0f2c
5 changed files with 72 additions and 0 deletions
|
|
@ -39,6 +39,15 @@ namespace model {
|
|||
const glm::vec3& up,
|
||||
const glm::vec3& norm,
|
||||
const UVRegion& region
|
||||
);
|
||||
void addTriangle(
|
||||
const glm::vec3& a,
|
||||
const glm::vec3& b,
|
||||
const glm::vec3& c,
|
||||
const glm::vec3& norm,
|
||||
const glm::vec2& uvA,
|
||||
const glm::vec2& uvB,
|
||||
const glm::vec2& uvC
|
||||
);
|
||||
void addBox(const glm::vec3& pos, const glm::vec3& size);
|
||||
void addBox(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue