HPL3/Amnesia: Rebirth/Scripting/cQuaternion

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 22:52, 15 November 2020 by Abion47 (talk | contribs) (Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== {{CodeDocSummaryTop|Field Type|Field Name...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

Field Type Field Name And Description
float w
float x
float y
float z

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

Returns:

  • void

FromRotationMatrix

void FromRotationMatrix(const cMatrixf &in )


Parameters

Returns:

  • void

Length

float Length()

Returns:

  • float

LengthXYZ

float LengthXYZ()

Returns:

  • float

Normalize

void Normalize()

Returns:

  • void

SetXYZ

void SetXYZ(const cVector3f &in avVec)


Parameters

Returns:

  • void

SqrLength

float SqrLength()

Returns:

  • float

SqrLengthXYZ

float SqrLengthXYZ()

Returns:

  • float

w

float w

x

float x

y

float y

z

float z

References

See all references...