|
@@ -32,15 +32,18 @@ private:
|
|
|
INLINE BulletPlaneShape() : _shape(nullptr) {};
|
|
INLINE BulletPlaneShape() : _shape(nullptr) {};
|
|
|
|
|
|
|
|
PUBLISHED:
|
|
PUBLISHED:
|
|
|
|
|
+ explicit BulletPlaneShape(LPlane plane);
|
|
|
explicit BulletPlaneShape(const LVector3 &normal, PN_stdfloat constant);
|
|
explicit BulletPlaneShape(const LVector3 &normal, PN_stdfloat constant);
|
|
|
BulletPlaneShape(const BulletPlaneShape ©);
|
|
BulletPlaneShape(const BulletPlaneShape ©);
|
|
|
INLINE ~BulletPlaneShape();
|
|
INLINE ~BulletPlaneShape();
|
|
|
|
|
|
|
|
|
|
+ LPlane get_plane() const;
|
|
|
LVector3 get_plane_normal() const;
|
|
LVector3 get_plane_normal() const;
|
|
|
PN_stdfloat get_plane_constant() const;
|
|
PN_stdfloat get_plane_constant() const;
|
|
|
|
|
|
|
|
static BulletPlaneShape *make_from_solid(const CollisionPlane *solid);
|
|
static BulletPlaneShape *make_from_solid(const CollisionPlane *solid);
|
|
|
|
|
|
|
|
|
|
+ MAKE_PROPERTY(plane, get_plane);
|
|
|
MAKE_PROPERTY(plane_normal, get_plane_normal);
|
|
MAKE_PROPERTY(plane_normal, get_plane_normal);
|
|
|
MAKE_PROPERTY(plane_constant, get_plane_constant);
|
|
MAKE_PROPERTY(plane_constant, get_plane_constant);
|
|
|
|
|
|