mirror of
https://github.com/Relintai/godot_voxel.git
synced 2025-01-09 04:59:40 +01:00
Added VoxelBuffer::clear_channel_f()
This commit is contained in:
parent
4e9880fb8c
commit
1baa13ff3b
@ -54,6 +54,7 @@ public:
|
||||
void create(int sx, int sy, int sz);
|
||||
void clear();
|
||||
void clear_channel(unsigned int channel_index, int clear_value = 0);
|
||||
_FORCE_INLINE_ void clear_channel_f(unsigned int channel_index, float clear_value = 0) { clear_channel(channel_index, iso_to_byte(clear_value)); }
|
||||
|
||||
_FORCE_INLINE_ const Vector3i &get_size() const { return _size; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user