HPL3/Amnesia: Rebirth/Scripting/cVector2f

From Frictional Wiki
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 x
float y

Functions

Return Type Function And Description
float GetElement(uint64 alIdx)
float Length()
float Normalize()
void SetElement(uint64 alIdx, float )
float SqrLength()

Details

GetElement

float GetElement(uint64 alIdx)


Parameters

  • alIdx (uint64) —

Returns:

  • float

Length

float Length()

Returns:

  • float

Normalize

float Normalize()

Returns:

  • float

SetElement

void SetElement(uint64 alIdx,
                float )


Parameters

  • alIdx (uint64) —
  • ' (float) —

Returns:

  • void

SqrLength

float SqrLength()

Returns:

  • float

x

float x

y

float y

References

See all references...