mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added curveFitter stuff
This commit is contained in:
parent
1519a80c02
commit
f4cb11ab9d
@ -70,6 +70,7 @@ END_PUBLISH //]
|
|||||||
|
|
||||||
|
|
||||||
class ParametricCurveDrawer;
|
class ParametricCurveDrawer;
|
||||||
|
class HermiteCurveCV;
|
||||||
class HermiteCurve;
|
class HermiteCurve;
|
||||||
class NurbsCurve;
|
class NurbsCurve;
|
||||||
|
|
||||||
@ -299,6 +300,9 @@ public:
|
|||||||
CubicCurveseg(const BezierSeg &seg);
|
CubicCurveseg(const BezierSeg &seg);
|
||||||
CubicCurveseg(int order, const double knots[], const LVector4f cvs[]);
|
CubicCurveseg(int order, const double knots[], const LVector4f cvs[]);
|
||||||
|
|
||||||
|
void hermite_basis(const HermiteCurveCV &cv0,
|
||||||
|
const HermiteCurveCV &cv1,
|
||||||
|
double tlength = 1.0);
|
||||||
void bezier_basis(const BezierSeg &seg);
|
void bezier_basis(const BezierSeg &seg);
|
||||||
void nurbs_basis(int order, const double knots[], const LVector4f cvs[]);
|
void nurbs_basis(int order, const double knots[], const LVector4f cvs[]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user