C# Class GoSplineQuadraticBezierSolver, GoKit

nodes should be in the order start, control, end
Inheritance: AbstractGoSplineSolver
ファイルを表示 Open project: prime31/GoKit

Public Methods

Method Description
GoSplineQuadraticBezierSolver ( List nodes ) : System.Collections
closePath ( ) : void
drawGizmos ( ) : void
getPoint ( float t ) : Vector3

Private Methods

Method Description
quadBezierLength ( Vector3 startPoint, Vector3 controlPoint, Vector3 endPoint ) : float

Method Details

GoSplineQuadraticBezierSolver() public method

public GoSplineQuadraticBezierSolver ( List nodes ) : System.Collections
nodes List
return System.Collections

closePath() public method

public closePath ( ) : void
return void

drawGizmos() public method

public drawGizmos ( ) : void
return void

getPoint() public method

public getPoint ( float t ) : Vector3
t float
return Vector3