Divides the vector by another. @param vec The other vector @return the same vector
(@NotNull Vector vec)
| 129 | * @return the same vector |
| 130 | */ |
| 131 | @NotNull |
| 132 | public Vector divide(@NotNull Vector vec) { |
| 133 | x /= vec.x; |
| 134 | y /= vec.y; |
| 135 | z /= vec.z; |
| 136 | return this; |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Copies another vector |
nothing calls this directly
no outgoing calls
no test coverage detected