#include <vecmath.h>
Inheritance diagram for Vector4< T >:


Public Member Functions | |
| Vector4 & | operator *= (T) |
| Vector4 | operator+ () const |
| Vector4 & | operator+= (const Vector4 &) |
| Vector4 | operator- () const |
| Vector4 & | operator-= (const Vector4 &) |
| T & | operator[] (int) const |
| Vector4 (T, T, T, T) | |
| Vector4 () | |
Public Attributes | |
| T | w |
| T | x |
| T | y |
| T | z |
|
|||||||||
|
Definition at line 481 of file vecmath.h.
|
|
||||||||||||||||||||||||
|
Definition at line 485 of file vecmath.h.
|
|
||||||||||
|
Definition at line 522 of file vecmath.h. References Vector4< T >::w, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z.
|
|
|||||||||
|
Definition at line 533 of file vecmath.h. 00534 {
00535 return *this;
00536 }
|
|
||||||||||
|
Definition at line 510 of file vecmath.h. References Vector4< T >::w, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z.
|
|
|||||||||
|
Definition at line 528 of file vecmath.h. References Vector4< T >::w, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z. 00529 {
00530 return Vector4<T>(-x, -y, -z, -w);
00531 }
|
|
||||||||||
|
Definition at line 516 of file vecmath.h. References Vector4< T >::w, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z.
|
|
||||||||||
|
Definition at line 493 of file vecmath.h. 00494 {
00495 // Not portable--I'll write a new version when I try to compile on a
00496 // platform where it bombs.
00497 return ((T*) this)[n];
00498 }
|
|
|||||
|
Definition at line 101 of file vecmath.h. Referenced by operator *(), Vector4< T >::operator *=(), Vector4< T >::operator+=(), Vector4< T >::operator-(), and Vector4< T >::operator-=(). |
|
|||||
|
Definition at line 101 of file vecmath.h. Referenced by glAmbientLightColor(), glLightColor(), glLightDirection(), glLightPosition(), operator *(), Vector4< T >::operator *=(), Vector4< T >::operator+=(), Vector4< T >::operator-(), and Vector4< T >::operator-=(). |
|
|||||
|
Definition at line 101 of file vecmath.h. Referenced by operator *(), Vector4< T >::operator *=(), Vector4< T >::operator+=(), Vector4< T >::operator-(), and Vector4< T >::operator-=(). |
|
|||||
|
Definition at line 101 of file vecmath.h. Referenced by operator *(), Vector4< T >::operator *=(), Vector4< T >::operator+=(), Vector4< T >::operator-(), and Vector4< T >::operator-=(). |
1.4.1