mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix NurbsCurve with new loader
This commit is contained in:
parent
2e5055303d
commit
e9480165e1
@ -88,6 +88,19 @@ NurbsCurve::
|
|||||||
~NurbsCurve() {
|
~NurbsCurve() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: NurbsCurve::make_copy
|
||||||
|
// Access: Public, Virtual
|
||||||
|
// Description: Returns a newly-allocated PandaNode that is a shallow
|
||||||
|
// copy of this one. It will be a different pointer,
|
||||||
|
// but its internal data may or may not be shared with
|
||||||
|
// that of the original PandaNode. No children will be
|
||||||
|
// copied.
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
PandaNode *NurbsCurve::
|
||||||
|
make_copy() const {
|
||||||
|
return new NurbsCurve(*this);
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: NurbsCurve::set_order
|
// Function: NurbsCurve::set_order
|
||||||
|
@ -59,6 +59,8 @@ PUBLISHED:
|
|||||||
virtual ~NurbsCurve();
|
virtual ~NurbsCurve();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual PandaNode *make_copy() const;
|
||||||
|
|
||||||
// We don't need to re-publish these, since they're all published
|
// We don't need to re-publish these, since they're all published
|
||||||
// from NurbsCurveInterface.
|
// from NurbsCurveInterface.
|
||||||
virtual void set_order(int order);
|
virtual void set_order(int order);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user