Gets the maximum components of two vectors. @param v1 The first vector. @param v2 The second vector. @return maximum
(@NotNull Vector v1, @NotNull Vector v2)
| 845 | * @return maximum |
| 846 | */ |
| 847 | @NotNull |
| 848 | public static Vector getMaximum(@NotNull Vector v1, @NotNull Vector v2) { |
| 849 | return new Vector(Math.max(v1.x, v2.x), Math.max(v1.y, v2.y), Math.max(v1.z, v2.z)); |
| 850 | } |
| 851 | |
| 852 | /** |
| 853 | * Gets a random vector with components having a random value between 0 |
nothing calls this directly
no outgoing calls
no test coverage detected