| 1083 | } |
| 1084 | |
| 1085 | TerrainCellMaterial* TerrCell::getMaterial() |
| 1086 | { |
| 1087 | if ( !mMaterial ) |
| 1088 | { |
| 1089 | mMaterial = new TerrainCellMaterial; |
| 1090 | mMaterial->init( mTerrain, mMaterials ); |
| 1091 | } |
| 1092 | |
| 1093 | return mMaterial; |
| 1094 | } |
| 1095 | |
| 1096 | void TerrCell::deleteMaterials() |
| 1097 | { |
no test coverage detected