00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXRAY_H
00016 #define PHYSXRAY_H
00017
00018 #include "pandabase.h"
00019 #include "luse.h"
00020
00021 #include "config_physx.h"
00022
00023
00024
00025
00026
00027
00028 class EXPCL_PANDAPHYSX PhysxRay {
00029
00030 PUBLISHED:
00031 INLINE PhysxRay();
00032 INLINE ~PhysxRay();
00033
00034 void set_length(float length);
00035 void set_origin(const LPoint3f &origin);
00036 void set_direction(const LVector3f &direction);
00037
00038 float get_length() const;
00039 LPoint3f get_origin() const;
00040 LVector3f get_direction() const;
00041
00042 public:
00043 NxRay _ray;
00044 NxReal _length;
00045 };
00046
00047 #include "physxRay.I"
00048
00049 #endif // PHYSRAY_H