Lines Matching refs:VectorN
144 class VectorN
148 VectorN ();
149 VectorN (T x);
150 VectorN (T x, T y);
151 VectorN (T x, T y, T z);
152 VectorN (T x, T y, T z, T w);
153 VectorN (VectorN<T, 3> vec3, T w);
155 inline VectorN<T, N>& operator = (const VectorN<T, N>& rhs);
156 inline VectorN<T, N> operator - () const;
157 inline bool operator == (const VectorN<T, N>& rhs) const;
168 inline VectorN<T, N> operator + (const T rhs) const;
169 inline VectorN<T, N> operator - (const T rhs) const;
170 inline VectorN<T, N> operator * (const T rhs) const;
171 inline VectorN<T, N> operator / (const T rhs) const;
172 inline VectorN<T, N> operator += (const T rhs);
173 inline VectorN<T, N> operator -= (const T rhs);
174 inline VectorN<T, N> operator *= (const T rhs);
175 inline VectorN<T, N> operator /= (const T rhs);
177 inline VectorN<T, N> operator + (const VectorN<T, N>& rhs) const;
178 inline VectorN<T, N> operator - (const VectorN<T, N>& rhs) const;
179 inline VectorN<T, N> operator * (const VectorN<T, N>& rhs) const;
180 inline VectorN<T, N> operator / (const VectorN<T, N>& rhs) const;
181 inline VectorN<T, N> operator += (const VectorN<T, N>& rhs);
182 inline VectorN<T, N> operator -= (const VectorN<T, N>& rhs);
183 inline VectorN<T, N> operator *= (const VectorN<T, N>& rhs);
184 inline VectorN<T, N> operator /= (const VectorN<T, N>& rhs);
187 VectorN<NEW, N> convert_to () const;
194 inline float distance (const VectorN<T, N>& vec) const;
195 inline T dot (const VectorN<T, N>& vec) const;
196 inline VectorN<T, N> lerp (T weight, const VectorN<T, N>& vec) const;
205 VectorN<T, N>::VectorN () in VectorN() function
213 VectorN<T, N>::VectorN (T x) { in VectorN() function
218 VectorN<T, N>::VectorN (T x, T y) { in VectorN() function
226 VectorN<T, N>::VectorN (T x, T y, T z) { in VectorN() function
235 VectorN<T, N>::VectorN (T x, T y, T z, T w) { in VectorN() function
245 VectorN<T, N>::VectorN (VectorN<T, 3> vec3, T w) { in VectorN() function
255 VectorN<T, N>& VectorN<T, N>::operator = (const VectorN<T, N>& rhs) {
264 VectorN<T, N> VectorN<T, N>::operator - () const {
273 VectorN<T, N> VectorN<T, N>::operator + (const T rhs) const {
274 VectorN<T, N> result;
283 VectorN<T, N> VectorN<T, N>::operator - (const T rhs) const {
284 VectorN<T, N> result;
293 VectorN<T, N> VectorN<T, N>::operator * (const T rhs) const {
294 VectorN<T, N> result;
303 VectorN<T, N> VectorN<T, N>::operator / (const T rhs) const {
304 VectorN<T, N> result;
313 VectorN<T, N> VectorN<T, N>::operator += (const T rhs) {
321 VectorN<T, N> VectorN<T, N>::operator -= (const T rhs) {
329 VectorN<T, N> VectorN<T, N>::operator *= (const T rhs) {
337 VectorN<T, N> VectorN<T, N>::operator /= (const T rhs) {
345 VectorN<T, N> VectorN<T, N>::operator + (const VectorN<T, N>& rhs) const {
346 VectorN<T, N> result;
355 VectorN<T, N> VectorN<T, N>::operator - (const VectorN<T, N>& rhs) const {
356 VectorN<T, N> result;
365 VectorN<T, N> VectorN<T, N>::operator * (const VectorN<T, N>& rhs) const {
366 VectorN<T, N> result;
375 VectorN<T, N> VectorN<T, N>::operator / (const VectorN<T, N>& rhs) const {
376 VectorN<T, N> result;
385 VectorN<T, N> VectorN<T, N>::operator += (const VectorN<T, N>& rhs) {
394 VectorN<T, N> VectorN<T, N>::operator -= (const VectorN<T, N>& rhs) {
403 VectorN<T, N> VectorN<T, N>::operator *= (const VectorN<T, N>& rhs) {
412 VectorN<T, N> VectorN<T, N>::operator /= (const VectorN<T, N>& rhs) {
421 bool VectorN<T, N>::operator == (const VectorN<T, N>& rhs) const {
432 VectorN<NEW, N> VectorN<T, N>::convert_to () const { in convert_to()
433 VectorN<NEW, N> result; in convert_to()
442 void VectorN<T, N>::zeros () { in zeros()
449 void VectorN<T, N>::set (T x, T y) { in set()
457 void VectorN<T, N>::set (T x, T y, T z) { in set()
466 void VectorN<T, N>::set (T x, T y, T z, T w) { in set()
476 T VectorN<T, N>::magnitude () const { in magnitude()
486 float VectorN<T, N>::distance (const VectorN<T, N>& vec) const { in distance()
496 T VectorN<T, N>::dot (const VectorN<T, N>& vec) const { in dot()
506 VectorN<T, N> VectorN<T, N>::lerp (T weight, const VectorN<T, N>& vec) const { in lerp()
516 MatrixN (VectorN<T, 2> a, VectorN<T, 2> b);
517 MatrixN (VectorN<T, 3> a, VectorN<T, 3> b, VectorN<T, 3> c);
518 MatrixN (VectorN<T, 4> a, VectorN<T, 4> b, VectorN<T, 4> c, VectorN<T, 4> d);
549 inline VectorN<T, N> operator * (const VectorN<T, N>& rhs) const;
572 MatrixN<T, N>::MatrixN (VectorN<T, 2> a, VectorN<T, 2> b) { in MatrixN()
584 MatrixN<T, N>::MatrixN (VectorN<T, 3> a, VectorN<T, 3> b, VectorN<T, 3> c) { in MatrixN()
601 MatrixN<T, N>::MatrixN (VectorN<T, 4> a, VectorN<T, 4> b, VectorN<T, 4> c, VectorN<T, 4> d) { in MatrixN()
710 VectorN<T, N> MatrixN<T, N>::operator * (const VectorN<T, N>& rhs) const {
711 VectorN<T, N> result;
946 typedef VectorN<double, 2> Vec2d;
947 typedef VectorN<double, 3> Vec3d;
948 typedef VectorN<double, 4> Vec4d;
953 typedef VectorN<float, 2> Vec2f;
954 typedef VectorN<float, 3> Vec3f;
955 typedef VectorN<float, 4> Vec4f;