mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
implement custom models preview & BlocksRenderer cleanup
This commit is contained in:
parent
8a99c118f6
commit
53d75a975c
3 changed files with 16 additions and 83 deletions
|
|
@ -82,16 +82,6 @@ class BlocksRenderer {
|
|||
const UVRegion& region,
|
||||
bool lights
|
||||
);
|
||||
void tetragonicFace(
|
||||
const glm::vec3& coord,
|
||||
const glm::vec3& p1, const glm::vec3& p2,
|
||||
const glm::vec3& p3, const glm::vec3& p4,
|
||||
const glm::vec3& X,
|
||||
const glm::vec3& Y,
|
||||
const glm::vec3& Z,
|
||||
const UVRegion& texreg,
|
||||
bool lights
|
||||
);
|
||||
void blockCube(
|
||||
const glm::ivec3& coord,
|
||||
const UVRegion(&faces)[6],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue