threejs-worldgen
    Preparing search index...

    Module threejs-heightfield

    Ground under a three.js scene as a fast (x, z) => y lookup: bake any mesh into a heightfield, ray-march it, and measure slope. The shared base for placing grass, rocks, trees and structures on terrain.

    HeightFn
    Terrain
    bakeHeightfield
    createHeightSampler
    raycastHeight
    slopeAt