Subtracts a vector from this one. @param vec The other vector @return the same vector
(@NotNull Vector vec)
| 101 | * @return the same vector |
| 102 | */ |
| 103 | @NotNull |
| 104 | public Vector subtract(@NotNull Vector vec) { |
| 105 | x -= vec.x; |
| 106 | y -= vec.y; |
| 107 | z -= vec.z; |
| 108 | return this; |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Multiplies the vector by another. |
nothing calls this directly
no outgoing calls
no test coverage detected