| Field Name | Type | Description |
|---|---|---|
| x | float | The x value of the vector. |
| y | float | The y value of the vector. |
| Return Type | Function Name | Parameters | Description |
|---|---|---|---|
| float | 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, float afVal, const | Sets the value at the given index to the given value. (Indices 0 and 1 are equal to x and y, respectively.) |
| float | SqrLength | const | Returns the length-squared of this vector. |
| float | Length | const | Returns the length of this vector. |
| float | Normalize | Calculates the normalization factor for this vector. (See Remarks.) |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!