Documentation ¶
Index ¶
- func Bezier(p1, p2, p3, p4 []float32, t float32) []float32
- func Bezier1d(p1, p2, p3, p4, t float32) float32
- func Bezier2d(p1, p2, p3, p4 [2]float32, t float32) [2]float32
- func Bezier3d(p1, p2, p3, p4 [3]float32, t float32) [3]float32
- func Cosine1D(a, b, t float32) float32
- func CubicCatmulRomSpline1D(p1, p2, p3, p4 float32, t float32) float32
- func CubicHermiteSpline1D(p1, p2, p3, p4, t, tension, bias float32) float32
- func CubicSpline1D(p1, p2, p3, p4, t float32) float32
- func Lerp(a, b, t float32) float32
- func LerpD(a, d, t float32) float32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CubicCatmulRomSpline1D ¶
func CubicHermiteSpline1D ¶
Tension: 0 is high, 0.5 normal, 1 is low Bias: 0 is even,
positive is towards first segment, negative towards the other
func CubicSpline1D ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.