HeightMapBoundingScript

HeightMapBoundingScript

Handles the height data for a heightmap and
provides functions for getting elevation at given coordinates.

Constructor

new HeightMapBoundingScript(matrixData)

Parameters:
Name Type Description
matrixData Array

The height data. Needs to be power of two.

Methods

getMatrixData() → {Array}

Gets the terrain matrix data