mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
AABB blocks rotation support (WIP part 2)
This commit is contained in:
parent
9d941e934c
commit
7f9e87cea2
3 changed files with 48 additions and 27 deletions
|
|
@ -84,10 +84,14 @@ class BlocksRenderer {
|
|||
}
|
||||
|
||||
void blockCube(int x, int y, int z, const UVRegion(&faces)[6], ubyte group);
|
||||
/* Fastest solid shaded blocks render method */
|
||||
|
||||
void blockCubeShaded(int x, int y, int z, const UVRegion(&faces)[6], const Block* block, ubyte states);
|
||||
/* AABB blocks render method (WIP)*/
|
||||
void blockCubeShaded(const glm::vec3& pos, const glm::vec3& size, const UVRegion(&faces)[6], const Block* block, ubyte states);
|
||||
void blockCubeShaded(const glm::ivec3& coord,
|
||||
const glm::vec3& offset,
|
||||
const glm::vec3& size,
|
||||
const UVRegion(&faces)[6],
|
||||
const Block* block,
|
||||
ubyte states);
|
||||
void blockXSprite(int x, int y, int z, const glm::vec3& size, const UVRegion& face1, const UVRegion& face2, float spread);
|
||||
|
||||
bool isOpenForLight(int x, int y, int z) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue