HPL3/Amnesia: Rebirth/Scripting/cQuaternion
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
Functions
Return Type | Function And Description |
---|---|
void | FromAngleAxis(float afAngle, const cVector3f &in ) |
void | FromRotationMatrix(const cMatrixf &in ) |
float | Length() |
float | LengthXYZ() |
void | Normalize() |
void | SetXYZ(const cVector3f &in avVec) |
float | SqrLength() |
float | SqrLengthXYZ() |
Details
FromAngleAxis
void FromAngleAxis(float afAngle,
const cVector3f &in )
Parameters
- afAngle (float) —
- ' (cVector3f) —
Returns:
- void
FromRotationMatrix
Length
float Length()
Returns:
- float—
LengthXYZ
float LengthXYZ()
Returns:
- float—
Normalize
void Normalize()
Returns:
- void
SetXYZ
SqrLength
float SqrLength()
Returns:
- float—
SqrLengthXYZ
float SqrLengthXYZ()
Returns:
- float—
w
float w
x
float x
y
float y
z
float z