diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/numeric.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/numeric.h b/src/util/numeric.h index e742ab24a..615327864 100644 --- a/src/util/numeric.h +++ b/src/util/numeric.h @@ -310,9 +310,9 @@ inline v3f intToFloat(v3s16 p, f32 d) } // Random helper. Usually d=BS -inline core::aabbox3d<f32> getNodeBox(v3s16 p, float d) +inline aabb3f getNodeBox(v3s16 p, float d) { - return core::aabbox3d<f32>( + return aabb3f( (float)p.X * d - 0.5*d, (float)p.Y * d - 0.5*d, (float)p.Z * d - 0.5*d, |