Lines Matching refs:Vector3
24 class Vector3 {
35 Vector3();
36 Vector3(T x, T y, T z);
37 explicit Vector3(T* v);
38 ~Vector3();
40 Vector3 Normalized() const;
41 T Dot(const Vector3<T>& other) const;
42 Vector3 Cross(const Vector3<T>& other) const;
49 Vector3& operator*=(const Vector3<T>& other);
50 Vector3& operator*=(T s);
51 Vector3 operator*(T s) const;
52 Vector3 operator+(const Vector3<T>& other) const;
53 Vector3& operator+=(const Vector3<T>& other);
54 Vector3& operator=(const Vector3<T>& other);
55 Vector3 operator-(const Vector3<T>& other) const;
58 bool operator==(const Vector3& other) const;
61 static const Vector3 ZERO;
64 typedef Vector3<float> Vector3f;
65 typedef Vector3<double> Vector3d;
67 const Vector3<T> Vector3<T>::ZERO(0.0, 0.0, 0.0);
70 Vector3<T>::Vector3()
78 Vector3<T>::Vector3(T x, T y, T z)
86 Vector3<T>::Vector3(T* v)
94 Vector3<T>::~Vector3()
98 Vector3<T> Vector3<T>::Normalized() const
100 Vector3<T> rNormalize(*this);
106 T Vector3<T>::Dot(const Vector3<T>& other) const
116 Vector3<T> Vector3<T>::Cross(const Vector3<T>& other) const
125 Vector3<T> rCross;
131 T Vector3<T>::GetSqrLength() const
140 T Vector3<T>::GetLength() const
146 void Vector3<T>::SetZero()
152 void Vector3<T>::SetValues(T x, T y, T z)
160 T Vector3<T>::Normalize()
175 Vector3<T>& Vector3<T>::operator*=(const Vector3<T>& other)
185 Vector3<T>& Vector3<T>::operator*=(T s)
194 Vector3<T> Vector3<T>::operator*(T s) const
196 Vector3<T> rMulti(*this);
206 Vector3<T> Vector3<T>::operator+(const Vector3<T>& other) const
208 Vector3<T> rVec = *this;
214 Vector3<T>& Vector3<T>::operator+=(const Vector3<T>& other)
223 Vector3<T>& Vector3<T>::operator=(const Vector3<T>& other)
232 Vector3<T> Vector3<T>::operator-(const Vector3<T>& other) const
234 Vector3<T> rSub(*this);
244 T Vector3<T>::operator[](int index) const
250 T& Vector3<T>::operator[](int index)
256 inline bool Vector3<T>::operator==(const Vector3& other) const
264 inline T* Vector3<T>::GetData()