Browse Source

Edited comments.

Lasse Öörni 13 years ago
parent
commit
3982058551
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Engine/Graphics/Drawable.cpp
  2. 1 1
      Engine/Graphics/StaticModel.cpp

+ 1 - 1
Engine/Graphics/Drawable.cpp

@@ -111,7 +111,7 @@ void Drawable::UpdateBatches(const FrameInfo& frame)
 
 Geometry* Drawable::GetLodGeometry(unsigned batchIndex, unsigned level)
 {
-    // By default return just the batch geometry
+    // By default return the visible batch geometry
     if (batchIndex < batches_.Size())
         return batches_[batchIndex].geometry_;
     else

+ 1 - 1
Engine/Graphics/StaticModel.cpp

@@ -166,7 +166,7 @@ Geometry* StaticModel::GetLodGeometry(unsigned batchIndex, unsigned level)
     if (batchIndex >= geometries_.Size())
         return 0;
     
-    // If level is out of range, use visible
+    // If level is out of range, use visible geometry
     if (level < geometries_[batchIndex].Size())
         return geometries_[batchIndex][level];
     else