use higher-level class for copy constructor

This commit is contained in:
David Rose 2003-10-27 00:46:47 +00:00
parent d66635bc86
commit a2355fa37c
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ FLOATNAME(Plane)(void) {
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE_MATHUTIL FLOATNAME(Plane):: INLINE_MATHUTIL FLOATNAME(Plane)::
FLOATNAME(Plane)(const FLOATNAME(Plane) &copy) : FLOATNAME(Plane)(const FLOATNAME(LVecBase4) &copy) :
FLOATNAME(LVecBase4)(copy) FLOATNAME(LVecBase4)(copy)
{ {
} }

View File

@ -24,7 +24,7 @@
class EXPCL_PANDA FLOATNAME(Plane) : public FLOATNAME(LVecBase4) { class EXPCL_PANDA FLOATNAME(Plane) : public FLOATNAME(LVecBase4) {
PUBLISHED: PUBLISHED:
INLINE_MATHUTIL FLOATNAME(Plane)(void); INLINE_MATHUTIL FLOATNAME(Plane)(void);
INLINE_MATHUTIL FLOATNAME(Plane)(const FLOATNAME(Plane) &copy); INLINE_MATHUTIL FLOATNAME(Plane)(const FLOATNAME(LVecBase4) &copy);
INLINE_MATHUTIL FLOATNAME(Plane)(const FLOATNAME(LPoint3) &a, INLINE_MATHUTIL FLOATNAME(Plane)(const FLOATNAME(LPoint3) &a,
const FLOATNAME(LPoint3) &b, const FLOATNAME(LPoint3) &b,
const FLOATNAME(LPoint3) &c); const FLOATNAME(LPoint3) &c);