mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
small refactoring
This commit is contained in:
parent
73595cd558
commit
d671188680
7 changed files with 31 additions and 26 deletions
|
|
@ -53,9 +53,10 @@ public:
|
|||
|
||||
glm::vec3 rayCastToObstacle(glm::vec3 start, glm::vec3 dir, float maxDist);
|
||||
|
||||
const AABB* isObstacle(float x, float y, float z);
|
||||
bool isSolid(int x, int y, int z);
|
||||
bool isReplaceable(int x, int y, int z);
|
||||
const AABB* isObstacleAt(float x, float y, float z);
|
||||
bool isSolidBlock(int x, int y, int z);
|
||||
bool isReplaceableBlock(int x, int y, int z);
|
||||
bool isObstacleBlock(int x, int y, int z);
|
||||
|
||||
// does not move chunks inside
|
||||
void _setOffset(int x, int z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue