HPL3/Community/Scripting/Classes/cvector3l

From Frictional Wiki
< HPL3‎ | Community/Scripting/Classes
Revision as of 10:11, 30 July 2020 by Maintenance script (talk | contribs) (Upload classes to sub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cVector3l

Fields

Field Name Type Description
x int The integer x value of the vector.
y int The integer y value of the vector.
z int The integer z value of the vector.

Functions

Return Type Function Name Parameters Description
int GetElement uint64 alIdx,
const
Gets the value at the given index. (Indices 0, 1, and 2 are equal to x, y, and z, respectively.)
void SetElement uint64 alIdx,
int,
const
Sets the value at the given index to the given value. (Indices 0, 1, and 2 are equal to x, y, and z, respectively.)
int SqrLength const Returns the length-squared of this vector.

Remarks

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