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