mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-14 10:17:20 +01:00
Fixed linker errors aswell.
This commit is contained in:
parent
de103a3fdf
commit
5bfe5e7905
@ -197,14 +197,14 @@ void VoxelChunk::set_size(int size_x, int size_y, int siye_z, int margin_start,
|
||||
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ bool VoxelChunk::validate_channel_position(int x, int y, int z) const {
|
||||
bool VoxelChunk::validate_channel_position(int x, int y, int z) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ uint8_t VoxelChunk::get_voxel(int x, int y, int z, int channel_index) const {
|
||||
uint8_t VoxelChunk::get_voxel(int x, int y, int z, int channel_index) const {
|
||||
return 0;
|
||||
}
|
||||
_FORCE_INLINE_ void VoxelChunk::set_voxel(uint8_t value, int x, int y, int z, int channel_index) {
|
||||
void VoxelChunk::set_voxel(uint8_t value, int x, int y, int z, int channel_index) {
|
||||
|
||||
}
|
||||
|
||||
|
@ -171,9 +171,9 @@ void VoxelStructure::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_voxel", "x", "y", "z", "channel_index"), &VoxelStructure::get_voxel, DEFVAL(0));
|
||||
ClassDB::bind_method(D_METHOD("set_voxel", "value", "x", "y", "z", "channel_index"), &VoxelStructure::set_voxel, DEFVAL(0));
|
||||
ClassDB::bind_method(D_METHOD("set_voxel_v", "value", "pos", "channel_index"), &VoxelStructure::set_voxel_v, DEFVAL(0));
|
||||
//ClassDB::bind_method(D_METHOD("set_voxel_v", "value", "pos", "channel_index"), &VoxelStructure::set_voxel_v, DEFVAL(0));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("add_chunk", "chunk", "x", "y", "z"), &VoxelStructure::add_chunk_bind);
|
||||
//ClassDB::bind_method(D_METHOD("add_chunk", "chunk", "x", "y", "z"), &VoxelStructure::add_chunk_bind);
|
||||
ClassDB::bind_method(D_METHOD("get_chunk", "x", "y", "z"), &VoxelStructure::get_chunk);
|
||||
ClassDB::bind_method(D_METHOD("remove_chunk", "x", "y", "z"), &VoxelStructure::remove_chunk);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user