15 #ifndef __BULLET_PLANE_SHAPE_H__
16 #define __BULLET_PLANE_SHAPE_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
21 #include "bullet_utils.h"
22 #include "bulletShape.h"
24 #include "collisionPlane.h"
36 INLINE
void operator = (
const BulletPlaneShape ©);
37 INLINE ~BulletPlaneShape();
39 INLINE
LVector3 get_plane_normal()
const;
40 INLINE PN_stdfloat get_plane_constant()
const;
42 static BulletPlaneShape *make_from_solid(
const CollisionPlane *solid);
45 virtual btCollisionShape *ptr()
const;
48 btStaticPlaneShape *_shape;
55 static void init_type() {
56 BulletShape::init_type();
57 register_type(_type_handle,
"BulletPlaneShape",
58 BulletShape::get_class_type());
61 return get_class_type();
65 return get_class_type();
72 #include "bulletPlaneShape.I"
74 #endif // __BULLET_PLANE_SHAPE_H__
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
TypeHandle is the identifier used to differentiate C++ class types.