#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 5 of file vector.cpp.
|
|
|
Definition at line 13 of file vector.cpp.
00014 {
00015 }
|
|
|
Definition at line 31 of file vector.cpp. Referenced by QUAT::MultQuat().
|
|
|
Definition at line 24 of file vector.cpp. Referenced by QUAT::MultQuat().
|
|
|
Definition at line 39 of file vector.cpp. Referenced by CreateLightmaps(), and Normalize().
|
|
|
Definition at line 48 of file vector.cpp. References GetMagnitude(), x, y, and z. Referenced by CreateLargePortal(), CreateLightmaps(), DrawFire(), and DrawHalo().
00049 {
00050 float magnitude = this->GetMagnitude();
00051 x /= magnitude;
00052 y /= magnitude;
00053 z /= magnitude;
00054 }
|
|
|
Definition at line 17 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