|
hpl3:community:scripting:classes:cvector3l [2015/11/05 11:27] abion47 created |
hpl3:community:scripting:classes:cvector3l [2015/11/06 03:40] (current) abion47 |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^ Field Name ^ Type ^ Description ^ | ^ Field Name ^ Type ^ Description ^ | ||
| - | | x | int | | | + | | x | int | The integer x value of the vector. | |
| - | | y | int | | | + | | y | int | The integer y value of the vector. | |
| - | | z | int | | | + | | z | int | The integer z value of the vector. | |
| ====Functions==== | ====Functions==== | ||
| ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ||
| - | | int | GetElement | uint64 alIdx, \\ const | | | + | | 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 | | | + | | 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 | | | + | | int | SqrLength | const | Returns the length-squared of this vector. | |
| ====Remarks==== | ====Remarks==== | ||