|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Length of the vector = sqrt( vec . vec ) |
|
Length squared of the vector = vec . vec |
|
Normalize the vector so that it has length unity. Returns the previous length of the vector. |
|
Multiply by scalar. |
|
Dot product. |
|
Unary multiply by scalar. |
|
|
|
|
|
Binary vector add. |
|
Unary vector add. Slightly more efficient because no temporary intermediate object. |
|
Negation operator. Returns the negative of the Vec4d. |
|
Binary vector subtract. |
|
Unary vector subtract. |
|
Divide by scalar. |
|
Unary divide by scalar. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|