HPL3/Community/Scripting/Classes/cvector2l
Jump to navigation
Jump to search
Contents
cVector2l
Fields
Field Name | Type | Description |
---|---|---|
x | int | The integer x value of the vector. |
y | int | The integer y 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 and 1 are equal to x and y, respectively.) |
void | SetElement | uint64 alIdx, int, const |
Sets the value at the given index to the given value. (Indices 0 and 1 are equal to x and y, respectively.) |
int | SqrLength | const | Returns the length-squared of the vector. |
Remarks
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!