Converts each component of value -0.0 to 0.0 . @return This vector.
()
| 371 | * @return This vector. |
| 372 | */ |
| 373 | @NotNull |
| 374 | Vector normalizeZeros() { |
| 375 | if (x == -0.0D) x = 0.0D; |
| 376 | if (y == -0.0D) y = 0.0D; |
| 377 | if (z == -0.0D) z = 0.0D; |
| 378 | return this; |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * Returns whether this vector is in an axis-aligned bounding box. |