Vector3.h
Go to the documentation of this file.
00001 #ifndef H_VECTOR3
00002 #define H_VECTOR3
00003 
00004 class Vector3
00005 {
00006 public:
00007     Vector3();
00008     Vector3(float x, float y, float z);
00009     ~Vector3();
00010     Vector3(const Vector3 &vec);
00011 
00012     Vector3 operator+(const Vector3 &vec) const;
00013     Vector3 operator-(const Vector3 &vec) const;
00014     Vector3 operator*(const float k) const;
00015 
00016     void    Normalize();
00017     float   Dot(const Vector3 &vec) const;
00018     Vector3 Cross(const Vector3 &vec) const;
00019     float   Length();
00020 
00021     bool IsEqual(const Vector3 &vec) const;
00022 
00023     float x;
00024     float y;
00025     float z;
00026 };
00027 
00028 #endif


clearpath_tools
Author(s): Sean Anderson
autogenerated on Sun Oct 5 2014 22:52:30