- getHeightMap
- getLocalScale
- <init>
Constructor instantiates a new TerrainPatch object. The parameters and heightmap
data are then proce
- averageNormalsTangents
- cacheTerrainTransforms
Caches the transforms (except rotation) so the LOD calculator, which runs on a
separate thread, can
- calculateNormal
- clearCaches
Removes any references when the terrain is being removed.
- collideWithBoundingBox
This most definitely is not optimized.
- collideWithBoundingVolume
- collideWithRay
- ensurePositiveVolumeBBox
- fixNormalEdges
Matches the normals along the edge of the patch with the neighbours. Computes
the normals for the ri