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