dlangui v0.10.0 (2022-11-08T19:06:33Z)
Home
Dub
Repo
flattenBezier
dlangui
core
math3d
templated version of bezier flatten curve function, allocates temporary buffer
PointF
[]
flattenBezier
(PointF[] cp, int segmentCountInclusive)
PointF
[]
flattenBezier
(
alias
BezierFunc
)
(
const
PointF
[]
cp
,
int
segmentCountInclusive
)
if
(
is
(
typeof
(
BezierFunc
) ==
function
)
)
void
flattenBezier
(PointF[] cp, int segmentCountInclusive, PointF[] outSegments)
Meta
Source
See Implementation
dlangui
core
math3d
aliases
PointF
functions
bezierCubic
bezierCubicDerivative
bezierCubicDirection
bezierCubicNormal
bezierQuadratic
bezierQuadraticDerivative
bezierQuadraticDirection
bezierQuadraticNormal
flattenBezier
flattenBezierCubic
flattenBezierQuadratic
fuzzyNull
triangleNormal
structs
mat4
vec2
vec3
vec4
templated version of bezier flatten curve function, allocates temporary buffer