interface/voxel: VoxelInstance constructor
This commit is contained in:
parent
0f83215a29
commit
1bae4309cc
@ -91,6 +91,9 @@ namespace interface
|
||||
{
|
||||
uint32_t data;
|
||||
|
||||
VoxelInstance(){}
|
||||
VoxelInstance(VoxelTypeId id): data(id){}
|
||||
|
||||
VoxelTypeId getId(){return data & 0x001fffff; }
|
||||
uint8_t getMSB(){return (data>>24) & 0xff; }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user