15 #ifndef PHYSXCONTACTPOINT_H 16 #define PHYSXCONTACTPOINT_H 18 #include "pandabase.h" 20 #include "typedObject.h" 22 #include "config_physx.h" 35 INLINE ~PhysxContactPoint();
39 float get_normal_force()
const;
40 float get_separation()
const;
41 unsigned int get_feature_index0()
const;
42 unsigned int get_feature_index1()
const;
45 static PhysxContactPoint empty();
47 void set(NxContactStreamIterator it);
54 NxU32 _feature_index0;
55 NxU32 _feature_index1;
63 TypedReferenceCount::init_type();
64 register_type(_type_handle,
"PhysxContactPoint",
65 TypedReferenceCount::get_class_type());
68 return get_class_type();
72 return get_class_type();
79 #include "physxContactPoint.I" 81 #endif // PHYSXCONTACTPOINT_H static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Abstract base class for shapes.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
TypeHandle is the identifier used to differentiate C++ class types.