Function makeRotationMinimizingFrames

  • Generate a list of rotation-minimizing CurveFrames from a given list of curve points, curve tangents and a starting normal.

    Returns

    A list of rotation-minimizing curve frames.

    Parameters

    • positions: vec3[]

      The list of points in the curve.

    • tangents: vec3[]

      The list of tangents (directions) in the curve, as normalized vectors.

    • startNormal: vec3

      The starting normal (up direction) of the curve.

    • Optional options: RMFOptions

      Optional arguments object.

    Returns CurveFrames

Generated using TypeDoc