Adds a vector to this one @param vec The other vector @return the same vector
(@NotNull Vector vec)
| 87 | * @return the same vector |
| 88 | */ |
| 89 | @NotNull |
| 90 | public Vector add(@NotNull Vector vec) { |
| 91 | x += vec.x; |
| 92 | y += vec.y; |
| 93 | z += vec.z; |
| 94 | return this; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Subtracts a vector from this one. |
nothing calls this directly
no outgoing calls
no test coverage detected