dlangui v0.10.7 (2024-03-11T09:32:36Z)
Home
Dub
Repo
flattenBezier
dlangui
core
math3d
flatten bezier curve function, writes to provided buffer instead of allocation
PointF
[]
flattenBezier
(PointF[] cp, int segmentCountInclusive)
void
flattenBezier
(PointF[] cp, int segmentCountInclusive, PointF[] outSegments)
void
flattenBezier
(
alias
BezierFunc
)
(
const
PointF
[]
cp
,
int
segmentCountInclusive
,
PointF
[]
outSegments
)
if
(
is
(
typeof
(
BezierFunc
) ==
function
)
)
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
flatten bezier curve function, writes to provided buffer instead of allocation