Skip to main content

generateStraightArrow

Callable


  • Generate a straight arrow for a single stair flight


    Parameters

    • flight: FlightData

      Flight data

    • cutHeight: number

      Height of the section cut

    • viewDir: Vec3

      View direction (typically down: [0, -1, 0])

    • optionallimits: ArrowLengthLimits

      Optional length limits

    Returns Vec3[][]

    Array of polylines (shaft + two arrowhead wings)