C# Class THREE.Curve.Utils

Show file Open project: inoook/BezierPath

Public Methods

Method Description
interpolate ( float p0, float p1, float p2, float p3, float t ) : float
tangentCubicBezier ( float t, Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3 ) : Vector3
tangentQuadraticBezier ( float t, float p0, float p1, float p2 ) : float
tangentSpline ( float t, Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3 ) : float

Method Details

interpolate() public static method

public static interpolate ( float p0, float p1, float p2, float p3, float t ) : float
p0 float
p1 float
p2 float
p3 float
t float
return float

tangentCubicBezier() public static method

public static tangentCubicBezier ( float t, Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3 ) : Vector3
t float
p0 Vector3
p1 Vector3
p2 Vector3
p3 Vector3
return Vector3

tangentQuadraticBezier() public static method

public static tangentQuadraticBezier ( float t, float p0, float p1, float p2 ) : float
t float
p0 float
p1 float
p2 float
return float

tangentSpline() public static method

public static tangentSpline ( float t, Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3 ) : float
t float
p0 Vector3
p1 Vector3
p2 Vector3
p3 Vector3
return float