Vector3
class in Math
Properties
Name | Type | Access | Description |
---|---|---|---|
x | float | get / set | |
y | float | get / set | |
z | float | get / set |
Methods
Return Type | Signature | Description |
---|---|---|
Vector3 | mul ( float o ) | |
Vector3 | add ( Vector3 o ) | |
Vector3 | normalize ( ) | |
Vector3 | sub ( Vector3 o ) | |
float | magnitude ( ) | |
void | normalize_inplace ( ) |
Static Properties
Static Methods
Return Type | Signature | Description |
---|---|---|
Vector3 | new ( float x, float y, float z ) |