hex-world
    Preparing search index...

    Function fitHeight

    • Scale a geometry to an exact overall height, then seat it.

      Worth the two bounding-box passes at build time because it makes height mean what it says: an icosahedron's topmost vertex sits at 0.85 of its radius, not at the radius, so a crown composed by hand always comes out short of its arithmetic by some figure nobody should have to know.

      Parameters

      • geometry: BufferGeometry
      • height: number

      Returns BufferGeometry