summaryrefslogtreecommitdiff
path: root/game/terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/terrain.cpp')
-rw-r--r--game/terrain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/terrain.cpp b/game/terrain.cpp
index 530b373..577d9e5 100644
--- a/game/terrain.cpp
+++ b/game/terrain.cpp
@@ -82,7 +82,7 @@ Terrain::generateMeshes()
{(surfaceKey.basePosition + 1) * TILE_SIZE || getExtents().max.z}};
}
else {
- meshItr->second.aabb = AxisAlignedBoundingBox::fromPoints(
+ meshItr->second.aabb = AxisAlignedBoundingBox<GlobalDistance>::fromPoints(
indices | std::views::transform([this](const auto vertex) -> GlobalPosition3D {
return this->point(VertexHandle {static_cast<int>(vertex)});
}));