Browse Source

collide: Unexpose CollisionPolygon constructor taking point array

This could never work in Python, and does indeed cause a crash, so I don't consider this compat-breaking.

Fixes #908
rdb 5 years ago
parent
commit
2ed4516cb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/collide/collisionPolygon.h

+ 1 - 1
panda/src/collide/collisionPolygon.h

@@ -32,12 +32,12 @@ PUBLISHED:
                           const LVecBase3 &c);
   INLINE CollisionPolygon(const LVecBase3 &a, const LVecBase3 &b,
                           const LVecBase3 &c, const LVecBase3 &d);
-  INLINE CollisionPolygon(const LPoint3 *begin, const LPoint3 *end);
 
 private:
   INLINE CollisionPolygon();
 
 public:
+  INLINE CollisionPolygon(const LPoint3 *begin, const LPoint3 *end);
   CollisionPolygon(const CollisionPolygon &copy);
 
   virtual CollisionSolid *make_copy();