Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/cQuaternion"

From Frictional Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 23:52, 15 November 2020

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...