00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXBOXSHAPEDESC_H
00016 #define PHYSXBOXSHAPEDESC_H
00017
00018 #include "pandabase.h"
00019 #include "luse.h"
00020
00021 #include "physxShapeDesc.h"
00022 #include "physx_includes.h"
00023
00024
00025
00026
00027
00028 class EXPCL_PANDAPHYSX PhysxBoxShapeDesc : public PhysxShapeDesc {
00029
00030 PUBLISHED:
00031 INLINE PhysxBoxShapeDesc();
00032 INLINE ~PhysxBoxShapeDesc();
00033
00034 INLINE void set_to_default();
00035 INLINE bool is_valid() const;
00036
00037 void set_dimensions(const LVector3f &dimensions);
00038
00039 LVector3f get_dimensions() const;
00040
00041 public:
00042 NxShapeDesc *ptr() const { return (NxShapeDesc *)&_desc; };
00043 NxBoxShapeDesc _desc;
00044 };
00045
00046 #include "physxBoxShapeDesc.I"
00047
00048 #endif // PHYSXBOXSHAPEDESC_H