mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add block particles property
This commit is contained in:
parent
24af455bf0
commit
0eeb6b6eb2
11 changed files with 180 additions and 23 deletions
|
|
@ -60,6 +60,10 @@ public:
|
|||
return get(pos.x, pos.y, pos.z);
|
||||
}
|
||||
|
||||
inline const voxel* get(glm::ivec3 pos) const {
|
||||
return get(pos.x, pos.y, pos.z);
|
||||
}
|
||||
|
||||
light_t getLight(int32_t x, int32_t y, int32_t z) const;
|
||||
ubyte getLight(int32_t x, int32_t y, int32_t z, int channel) const;
|
||||
void set(int32_t x, int32_t y, int32_t z, uint32_t id, blockstate state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue