فهرست منبع

Updated Terrain test to use a 3 splat layers instead of 2.
Misc other tweaks to Terrain test.

Steve Grenier 13 سال پیش
والد
کامیت
4893699495
2فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 4 0
      gameplay/src/TerrainPatch.cpp
  2. 2 0
      gameplay/src/TerrainPatch.h

+ 4 - 0
gameplay/src/TerrainPatch.cpp

@@ -667,6 +667,10 @@ TerrainPatch::Layer::~Layer()
 {
 }
 
+TerrainPatch::Level::Level() : model(NULL)
+{
+}
+
 bool TerrainPatch::LayerCompare::operator() (const Layer* lhs, const Layer* rhs) const
 {
     return (lhs->index < rhs->index);

+ 2 - 0
gameplay/src/TerrainPatch.h

@@ -41,6 +41,8 @@ private:
     struct Level
     {
         Model* model;
+
+        Level();
     };
 
     struct LayerCompare