mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-14 23:05:57 -04:00
Add a comment
This commit is contained in:
parent
5921e70625
commit
db16cdad02
@ -136,6 +136,7 @@ void TerrainGrid::loadCell(int x, int y)
|
|||||||
geode->addDrawable(geometry);
|
geode->addDrawable(geometry);
|
||||||
|
|
||||||
// build a kdtree to speed up intersection tests with the terrain
|
// build a kdtree to speed up intersection tests with the terrain
|
||||||
|
// Note, the build could be optimized using a custom kdtree builder, since we know that the terrain can be represented by a quadtree
|
||||||
geode->accept(*mKdTreeBuilder);
|
geode->accept(*mKdTreeBuilder);
|
||||||
|
|
||||||
std::vector<LayerInfo> layerList;
|
std::vector<LayerInfo> layerList;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user