_vector3_sse Class Reference
[Math Data Types]
#include <_vector3_sse.h>
Detailed Description
SSE based vector3 class.(C) 2002 RadonLabs GmbH
Definition at line 16 of file _vector3_sse.h.
Public Member Functions | |
| _vector3_sse () | |
| constructor 1 | |
| _vector3_sse (const float _x, const float _y, const float _z) | |
| constructor 2 | |
| _vector3_sse (const _vector3_sse &vec) | |
| constructor 3 | |
| _vector3_sse (const float *p) | |
| constructor 4 | |
| _vector3_sse (const __m128 &m) | |
| private constructor | |
| void | set (const float _x, const float _y, const float _z) |
| set elements 1 | |
| void | set (const _vector3_sse &vec) |
| set elements 2 | |
| void | set (const float *p) |
| set elements 3 | |
| float | len () const |
| return length | |
| float | lensquared () const |
| return length squared | |
| void | norm () |
| normalize | |
| void | operator+= (const _vector3_sse &v0) |
| inplace add | |
| void | operator-= (const _vector3_sse &v0) |
| inplace sub | |
| void | operator *= (float s) |
| inplace scalar multiplication | |
| bool | isequal (const _vector3_sse &v, float tol) const |
| fuzzy compare | |
| int | compare (const _vector3_sse &v, float tol) const |
| fuzzy compare, returns -1, 0, +1 | |
| void | rotate (const _vector3_sse &axis, float angle) |
| rotate around axis | |
| void | lerp (const _vector3_sse &v0, float lerpVal) |
| inplace linear interpolation | |
| void | lerp (const _vector3_sse &v0, const _vector3_sse &v1, float lerpVal) |
| linear interpolation between v0 and v1 | |
| _vector3_sse | findortho () const |
| returns a vector orthogonal to self, not normalized | |
Static Public Attributes | |
| static const _vector3_sse | zero = _vector3_sse() |
Constructor & Destructor Documentation
|
|
constructor 1
Definition at line 77 of file _vector3_sse.h. |
|
||||||||||||||||
|
constructor 2
Definition at line 86 of file _vector3_sse.h. |
|
|
constructor 3
Definition at line 95 of file _vector3_sse.h. |
|
|
constructor 4
|
|
|
private constructor
Definition at line 104 of file _vector3_sse.h. |
Member Function Documentation
|
||||||||||||||||
|
set elements 1
Definition at line 114 of file _vector3_sse.h. |
|
|
set elements 2
Definition at line 124 of file _vector3_sse.h. |
|
|
set elements 3
|
|
|
return length
Definition at line 134 of file _vector3_sse.h. |
|
|
return length squared
Definition at line 154 of file _vector3_sse.h. |
|
|
normalize
Definition at line 171 of file _vector3_sse.h. |
|
|
inplace add
Definition at line 195 of file _vector3_sse.h. |
|
|
inplace sub
Definition at line 205 of file _vector3_sse.h. |
|
|
inplace scalar multiplication
Definition at line 215 of file _vector3_sse.h. |
|
||||||||||||
|
fuzzy compare
Definition at line 226 of file _vector3_sse.h. |
|
||||||||||||
|
fuzzy compare, returns -1, 0, +1
Definition at line 239 of file _vector3_sse.h. |
|
||||||||||||
|
rotate around axis
Definition at line 252 of file _vector3_sse.h. |
|
||||||||||||
|
inplace linear interpolation
Definition at line 374 of file _vector3_sse.h. |
|
||||||||||||||||
|
linear interpolation between v0 and v1
Definition at line 386 of file _vector3_sse.h. |
|
|
returns a vector orthogonal to self, not normalized Find a vector that is orthogonal to self. Self should not be (0,0,0). Return value is not normalized. Definition at line 400 of file _vector3_sse.h. |
Member Data Documentation
|
|
Definition at line 5 of file _vector3_sse.cc. |
|
|
Definition at line 65 of file _vector3_sse.h. |
|
|
Definition at line 68 of file _vector3_sse.h. |
|
|
Definition at line 68 of file _vector3_sse.h. |
|
|
Definition at line 68 of file _vector3_sse.h. |
|
|
Definition at line 68 of file _vector3_sse.h. |
The documentation for this class was generated from the following files: