From db16cdad027e4b53bbf62a6e40dedc1277d4e560 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 9 Jun 2015 03:16:41 +0200 Subject: [PATCH] Add a comment --- components/terrain/terraingrid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/terrain/terraingrid.cpp b/components/terrain/terraingrid.cpp index c8f8caef8..570461bba 100644 --- a/components/terrain/terraingrid.cpp +++ b/components/terrain/terraingrid.cpp @@ -136,6 +136,7 @@ void TerrainGrid::loadCell(int x, int y) geode->addDrawable(geometry); // 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); std::vector layerList;