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();
Descriptor class for PhysxBoxShape.
A box shaped collision detection primitive.
Abstract base class for shapes.
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.
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(),...