Get the squared distance between this vector and another. @param o The other vector @return the distance
(@NotNull Vector o)
| 193 | * @return the distance |
| 194 | */ |
| 195 | public double distanceSquared(@NotNull Vector o) { |
| 196 | return NumberConversions.square(x - o.x) + NumberConversions.square(y - o.y) + NumberConversions.square(z - o.z); |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Gets the angle between this vector and another in radians. |
no test coverage detected