14 #ifndef PHYSXDISTANCEJOINT_H 15 #define PHYSXDISTANCEJOINT_H 38 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
40 void link(NxJoint *jointPtr);
44 NxDistanceJoint *_ptr;
50 static void init_type() {
51 PhysxJoint::init_type();
53 PhysxJoint::get_class_type());
56 return get_class_type();
60 return get_class_type();
69 #endif // PHYSXDISTANCEJOINT_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Abstract base class for the different types of joints.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A distance joint maintains a certain distance between two points on two actors.
Descriptor class for distance joint.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.