Go to the documentation of this file.
14 #ifndef PHYSXBOXSHAPE_H
15 #define PHYSXBOXSHAPE_H
44 void set_dimensions(
const LVector3f &dimensions);
45 LVector3f get_dimensions()
const;
48 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
50 void link(NxShape *shapePtr);
60 static void init_type() {
61 PhysxShape::init_type();
63 PhysxShape::get_class_type());
66 return get_class_type();
70 return get_class_type();
79 #endif // PHYSXBOXSHAPE_H
A box shaped collision detection primitive.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for PhysxBoxShape.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
Abstract base class for shapes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.