threejs-worldgen
    Preparing search index...

    Interface Environment

    Where a flock may be: a usable vertical band per horizontal position, or none (an obstacle).

    interface Environment {
        band(x: number, z: number, out: Band): boolean;
    }

    Implemented by

    Index
    • Fills out and returns true where (x, z) is usable; returns false for obstacles.

      Parameters

      • x: number
      • z: number
      • out: Band

      Returns boolean