Function extendCurveFrames

  • Extend the start and end of a list of curve frames and positions. Useful for doing subtraction operations. Inputs are not modified in-place. If an empty list is supplied, an error is thrown. All tangents must be normalized and valid, make sure to call fixTangentList to the input lists. Frames and positions lists must match in length.

    Parameters

    • frames: CurveFrames
    • positions: vec3[]
    • extension: number = EPS

      How many units of length the start and end will be extended out. Defaults to 1e-7 (EPS)

    Returns [frames: CurveFrames, positions: vec3[]]

Generated using TypeDoc