Nugget
Loading...
Searching...
No Matches
psyqo
Bezier
Functions
psyqo::Bezier Namespace Reference
Functions
Vec2
cubic
(const
Vec2
&a, const
Vec2
&
b
, const
Vec2
&
c
, const
Vec2
&d, FixedPoint<>
t
)
Cubic
Bezier
curve helper function.
Vec3
cubic
(const
Vec3
&a, const
Vec3
&
b
, const
Vec3
&
c
, const
Vec3
&d, FixedPoint<>
t
)
Function Documentation
◆
cubic()
[1/2]
Vec2
psyqo::Bezier::cubic
(
const
Vec2
&
a
,
const
Vec2
&
b
,
const
Vec2
&
c
,
const
Vec2
&
d
,
FixedPoint<>
t
)
Cubic
Bezier
curve helper function.
Parameters
a
Start of the
Bezier
curve.
b
Control point 1.
c
Control point 2.
d
End of the
Bezier
curve.
t
The point on the curve to sample, from 0.0 to 1.0.
Returns
Vec2 The point on the curve at t.
◆
cubic()
[2/2]
Vec3
psyqo::Bezier::cubic
(
const
Vec3
&
a
,
const
Vec3
&
b
,
const
Vec3
&
c
,
const
Vec3
&
d
,
FixedPoint<>
t
)
Generated by
1.9.8