A* Pathfinding Project
4.2.7
The A* Pathfinding Project for Unity 3D
|
Contains various spline functions. More...
Contains various spline functions.
Static Public Member Functions | |
static Vector3 | CatmullRom (Vector3 previous, Vector3 start, Vector3 end, Vector3 next, float elapsedTime) |
static Vector3 | CubicBezier (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
Returns a point on a cubic bezier curve. More... | |
static Vector3 | CubicBezierDerivative (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
Returns the derivative for a point on a cubic bezier curve. More... | |
static Vector3 | CubicBezierSecondDerivative (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
Returns the second derivative for a point on a cubic bezier curve. More... | |
|
static |
|
static |
Returns a point on a cubic bezier curve.
t is clamped between 0 and 1
|
static |
Returns the derivative for a point on a cubic bezier curve.
t is clamped between 0 and 1
|
static |
Returns the second derivative for a point on a cubic bezier curve.
t is clamped between 0 and 1