14#ifndef PHYSXPOINTONLINEJOINT_H
15#define PHYSXPOINTONLINEJOINT_H
40 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
42 void link(NxJoint *jointPtr);
46 NxPointOnLineJoint *_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();
Abstract base class for the different types of joints.
Descriptor class for point-on-line joint.
A point on line joint constrains a point on one body to only move along a line attached to another bo...
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(),...