#include <quat.h>
Public Member Functions | |
| VERTEX | operator+ (VERTEX v) |
| VERTEX | operator- (VERTEX v) |
| VERTEX () | |
| float | len () |
| VERTEX | normalize () |
| VERTEX | cross (VERTEX b) |
| void | Scale (float scalar) |
| VERTEX | ScaleR (float scalar) |
| float | dot (VERTEX b) |
| void | Set (float nx, float ny, float nz) |
| void | Set (float *f3) |
| VERTEX | InvertR () |
| float * | v3 () |
| void | zero () |
| bool | equals (VERTEX other) |
| void | flabs () |
| float | v (int i) |
| void | DebugPrint () |
| void | DebugPrint (ostream &out) |
| VERTEX | interpolatewith (VERTEX other, float percent) |
| bool | nan () |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Private Attributes | |
| float | float3 [3] |
Definition at line 14 of file quat.h.
|
|
|
|
|
Definition at line 720 of file quat.cpp. Referenced by UTILITY::IntersectQuadrilateralF(), AABB::IntersectRay(), and AABB::IntersectSegment(). |
|
|
|
|
|
Definition at line 45 of file quat.h. Referenced by TRACK::Collide(), OBJECTCOLLISION::CollideBranch(), OBJECTCOLLISION::CollideBranchModel(), BEZIER::CollideSubDivQuadSimpleNorm(), AABB::DebugPrint(), and LoadWorld(). |
|
|
Definition at line 788 of file quat.cpp. Referenced by OBJECTCOLLISION::CollideBranch(), OBJECTCOLLISION::CollideDriveable(), QUATERNION::GetAngleBetween(), UTILITY::IntersectQuadrilateralF(), and MATRIX3::Multiply(). |
|
|
Definition at line 838 of file quat.cpp. Referenced by TRACK::Collide(), and TRACK::GetPatch(). |
|
|
Definition at line 41 of file quat.h. Referenced by AABB::IntersectRay(). |
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 677 of file quat.cpp. References SETTINGS::GetSettingsDir(), settings, x, y, and z. Referenced by BEZIER::CollideQuadNewton(), CAMERA::MoveRelativeConstrainY(), normalize(), and BEZIER::SetFromCorners(). |
|
|
Definition at line 830 of file quat.cpp. Referenced by TRACK::Collide(), and TRACK::ElevationSeg(). |
|
|
Definition at line 732 of file quat.cpp. References len(), x, y, and z. Referenced by BEZIER::Attach(), TRACK::Collide(), OBJECTCOLLISION::CollideBranch(), OBJECTCOLLISION::CollideDriveable(), OBJECTCOLLISION::CollideModelAABB(), BEZIER::CollideQuadNewton(), BEZIER::DrawSurf(), LoadWorld(), NormalFromTri(), BEZIER::SetFromCorners(), and MOUSE::UpdateCamera(). |
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
Definition at line 43 of file quat.h. Referenced by operator+(), and operator-(). |
|
|
Definition at line 804 of file quat.cpp. References float3, x, y, and z. Referenced by JOEMODEL::Collide(), OBJECTCOLLISION::CollideBranch(), OBJECTCOLLISION::CollideBranchModel(), OBJECTCOLLISION::CollideDriveable(), BEZIER::CollideNewton(), BEZIER::CollideSubDiv(), SOUNDMANAGER::SetListenerPos(), SOUNDMANAGER::SetListenerVel(), SOUNDMANAGER::SetPos(), SOUNDMANAGER::SetVel(), and Update(). |
|
|
Definition at line 818 of file quat.cpp. Referenced by OBJECTCOLLISION::CollideModelAABB(), VAMOSWORLD::SetCameraMode(), and TRACK::VisualizeRoads(). |
|
|
Definition at line 18 of file quat.h. Referenced by v3(). |
|
|
|
1.4.6