mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
add block rotate
This commit is contained in:
parent
d2416946d9
commit
900e4ae098
11 changed files with 233 additions and 73 deletions
|
|
@ -34,7 +34,7 @@ public:
|
|||
voxel* get(int x, int y, int z);
|
||||
unsigned short getLight(int x, int y, int z);
|
||||
unsigned char getLight(int x, int y, int z, int channel);
|
||||
void set(int x, int y, int z, int id);
|
||||
void set(int x, int y, int z, int id, uint8_t states);
|
||||
voxel* rayCast(vec3 start, vec3 dir, float maxLength, vec3& end, vec3& norm, vec3& iend);
|
||||
|
||||
bool isObstacle(int x, int y, int z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue