CatmullSpline

Undocumented in source.

Members

Functions

addPoint
int addPoint(vec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
appendPoint
void appendPoint(vec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
createTarget
void createTarget(IncMesh reference)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(mat4 trans, vec4 color)
Undocumented in source. Be warned that the author may not have intended to support it.
eval
vec2 eval(float off)
Undocumented in source. Be warned that the author may not have intended to support it.
findClosestPointOffset
float findClosestPointOffset(vec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
findClosestPointOffset
float findClosestPointOffset(vec2 point, vec2 tangent)
Undocumented in source. Be warned that the author may not have intended to support it.
findPoint
int findPoint(vec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
interpolate
void interpolate()
Undocumented in source. Be warned that the author may not have intended to support it.
mapReference
void mapReference()
Undocumented in source. Be warned that the author may not have intended to support it.
prependPoint
void prependPoint(vec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
removePoint
void removePoint(uint idx)
Undocumented in source. Be warned that the author may not have intended to support it.
resetTarget
void resetTarget(IncMesh mesh)
Undocumented in source. Be warned that the author may not have intended to support it.
splitAt
void splitAt(float off)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateTarget
void updateTarget(IncMesh mesh)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

points
SplinePoint[] points;
Undocumented in source.
resolution
uint resolution;
Undocumented in source.
selectRadius
float selectRadius;
Undocumented in source.
target
CatmullSpline target;
Undocumented in source.

Meta