Multiplies the vector by another. @param vec The other vector @return the same vector
(@NotNull Vector vec)
| 115 | * @return the same vector |
| 116 | */ |
| 117 | @NotNull |
| 118 | public Vector multiply(@NotNull Vector vec) { |
| 119 | x *= vec.x; |
| 120 | y *= vec.y; |
| 121 | z *= vec.z; |
| 122 | return this; |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Divides the vector by another. |
no outgoing calls
no test coverage detected