14#ifndef PHYSXPOINTINPLANEJOINT_H
15#define PHYSXPOINTINPLANEJOINT_H
30class EXPCL_PANDAPHYSX PhysxPointInPlaneJoint :
public PhysxJoint {
33 INLINE PhysxPointInPlaneJoint();
34 INLINE ~PhysxPointInPlaneJoint();
40 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
42 void link(NxJoint *jointPtr);
46 NxPointInPlaneJoint *_ptr;
52 static void init_type() {
53 PhysxJoint::init_type();
55 PhysxJoint::get_class_type());
58 return get_class_type();
62 return get_class_type();
Descriptor class for point-in-plane joint.
void save_to_desc(PhysxPointInPlaneJointDesc &jointDesc) const
Saves the state of the joint object to a descriptor.
void load_from_desc(const PhysxPointInPlaneJointDesc &jointDesc)
Loads the entire state of the joint from a descriptor with a single call.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...