Class: Mountains

Mountains

Mountains with the same textures

new Mountains ()

Methods

updateGeometry (position, mountain)

Update the geometry of the mountains according to a mountain
Name Type Description
position Array.<number> The json position
mountain Mountain The moutain to update

createMesh ()

Create a mesh with material and geometry