| 173 | } |
| 174 | |
| 175 | NavMesh::NavMesh() |
| 176 | { |
| 177 | mTypeMask |= StaticShapeObjectType | MarkerObjectType; |
| 178 | mFileName = StringTable->EmptyString(); |
| 179 | mNetFlags.clear(Ghostable); |
| 180 | |
| 181 | mSaveIntermediates = false; |
| 182 | nm = NULL; |
| 183 | ctx = NULL; |
| 184 | |
| 185 | mWaterMethod = Ignore; |
| 186 | |
| 187 | dMemset(&cfg, 0, sizeof(cfg)); |
| 188 | mCellSize = mCellHeight = 0.2f; |
| 189 | mWalkableHeight = 2.0f; |
| 190 | mWalkableClimb = 0.3f; |
| 191 | mWalkableRadius = 0.5f; |
| 192 | mWalkableSlope = 40.0f; |
| 193 | mBorderSize = 1; |
| 194 | mDetailSampleDist = 6.0f; |
| 195 | mDetailSampleMaxError = 1.0f; |
| 196 | mMaxEdgeLen = 12; |
| 197 | mMaxSimplificationError = 1.3f; |
| 198 | mMinRegionArea = 8; |
| 199 | mMergeRegionArea = 20; |
| 200 | mTileSize = 10.0f; |
| 201 | mMaxPolysPerTile = 128; |
| 202 | |
| 203 | mSmallCharacters = false; |
| 204 | mRegularCharacters = true; |
| 205 | mLargeCharacters = false; |
| 206 | mVehicles = false; |
| 207 | |
| 208 | mCoverSet = StringTable->EmptyString(); |
| 209 | mInnerCover = false; |
| 210 | mCoverDist = 1.0f; |
| 211 | mPeekDist = 0.7f; |
| 212 | |
| 213 | mAlwaysRender = false; |
| 214 | |
| 215 | mBuilding = false; |
| 216 | mCurLinkID = 0; |
| 217 | } |
| 218 | |
| 219 | NavMesh::~NavMesh() |
| 220 | { |
nothing calls this directly
no test coverage detected