| 348 | } |
| 349 | |
| 350 | void Terrain::GetPatchCoord(int32 patchIndex, Int2& patchCoord) const |
| 351 | { |
| 352 | const auto patch = GetPatch(patchIndex); |
| 353 | if (patch) |
| 354 | { |
| 355 | patchCoord.X = patch->GetX(); |
| 356 | patchCoord.Y = patch->GetZ(); |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | void Terrain::GetPatchBounds(int32 patchIndex, BoundingBox& bounds) const |
| 361 | { |