This PR adds one new method to world (world.getHeightmap) and one new enum (HEIGHTMAP_TYPES).
world.getHeightmap() takes a string representing the type of heightmap, and a Vec2 or x/z coordinates. It returns the Y coordinate of the given position based on the heightmap string.
This PR adds one new method to
world
(world.getHeightmap
) and one new enum (HEIGHTMAP_TYPES
).world.getHeightmap()
takes a string representing the type of heightmap, and a Vec2 or x/z coordinates. It returns the Y coordinate of the given position based on the heightmap string.