mirror of
https://github.com/Relintai/voxelman.git
synced 2025-02-12 16:30:06 +01:00
Fix compile for javascript.
This commit is contained in:
parent
233dde39de
commit
19f3c1f8ff
@ -68,9 +68,9 @@ void VoxelWorldDefault::_update_lods() {
|
||||
if (!c.is_valid())
|
||||
continue;
|
||||
|
||||
int dx = abs(ppx - c->get_position_x());
|
||||
int dy = abs(ppy - c->get_position_y());
|
||||
int dz = abs(ppz - c->get_position_z());
|
||||
int dx = Math::abs(ppx - c->get_position_x());
|
||||
int dy = Math::abs(ppy - c->get_position_y());
|
||||
int dz = Math::abs(ppz - c->get_position_z());
|
||||
|
||||
int mr = MAX(MAX(dx, dy), dz);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user