15 #ifndef __BULLET_HEIGHTFIELD_SHAPE_H__
16 #define __BULLET_HEIGHTFIELD_SHAPE_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
21 #include "bullet_utils.h"
22 #include "bulletShape.h"
35 INLINE
void operator = (
const BulletHeightfieldShape ©);
36 INLINE ~BulletHeightfieldShape();
38 void set_use_diamond_subdivision(
bool flag=
true);
41 virtual btCollisionShape *ptr()
const;
47 btHeightfieldTerrainShape *_shape;
54 static void init_type() {
55 BulletShape::init_type();
56 register_type(_type_handle,
"BulletHeightfieldShape",
57 BulletShape::get_class_type());
60 return get_class_type();
64 return get_class_type();
71 #include "bulletHeightfieldShape.I"
73 #endif // __BULLET_HEIGHTFIELD_SHAPE_H__
The name of this class derives from the fact that we originally implemented it as a layer on top of t...
TypeHandle is the identifier used to differentiate C++ class types.