#include <vector.h>
Public Methods | |
| VECTOR (float sx=0.0, float sy=0.0, float sz=0.0) | |
| ~VECTOR () | |
| void | Reset () |
| void | Set (float sx, float sy, float sz) |
| void | CrossVector (VECTOR vect) |
| float | DotProduct (VECTOR vect) |
| float | GetMagnitude () |
| void | Normalize () |
Public Attributes | |
| float | x |
| float | y |
| float | z |
|
||||||||||||||||
|
Definition at line 6 of file vector.cpp.
|
|
|
Definition at line 14 of file vector.cpp.
00015 {
00016 }
|
|
|
Definition at line 32 of file vector.cpp. Referenced by QUAT::MultQuat().
|
|
|
Definition at line 25 of file vector.cpp. Referenced by QUAT::MultQuat().
|
|
|
Definition at line 40 of file vector.cpp. Referenced by CreateLightmaps(), and Normalize().
|
|
|
Definition at line 49 of file vector.cpp. References GetMagnitude(), x, y, and z. Referenced by CreateLargePortal(), CreateLightmaps(), DrawFire(), and DrawHalo().
00050 {
00051 float magnitude = this->GetMagnitude();
00052 x /= magnitude;
00053 y /= magnitude;
00054 z /= magnitude;
00055 }
|
|
|
Definition at line 18 of file vector.cpp. Referenced by OBJECT::Reset(), and CAMERA::Reset().
|
|
||||||||||||||||
|
Definition at line 13 of file vector.h. Referenced by LIGHT::Reset().
|
|
|
|
1.2.15