Browse Source

use higher-level class for copy constructor

David Rose 22 years ago
parent
commit
a2355fa37c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/mathutil/plane_src.I
  2. 1 1
      panda/src/mathutil/plane_src.h

+ 1 - 1
panda/src/mathutil/plane_src.I

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

+ 1 - 1
panda/src/mathutil/plane_src.h

@@ -24,7 +24,7 @@
 class EXPCL_PANDA FLOATNAME(Plane) : public FLOATNAME(LVecBase4) {
 PUBLISHED:
   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, 
                                    const FLOATNAME(LPoint3) &b,
                                    const FLOATNAME(LPoint3) &c);