gophergfx
    Preparing search index...

    Class CurvePath3

    Index
    • Constructs a CurvePath3 object with the given alpha and tension values

      Parameters

      • alpha: number = 0.5

        The alpha value for the curve

      • tension: number = 0

        The tension value for the curve

      Returns CurvePath3

    alpha: number
    controlPoints: Vector3[]
    tension: number
    • Computes a point on the curve from the given segment and parameter values

      Parameters

      • segment: number

        The segment to calculate the point from

      • t: number

        The parameter value from 0-1 to calculate the point from

      Returns Vector3 | null

      The point on the curve at the given segment and parameter value, or null if the segment is out of range