| Vector2FMax Method |
Creates a new vector out of the two passed vectors and takes the maximum values from these for each component.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax public static Vector2F Max(
Vector2F value1,
Vector2F value2
)
Public Shared Function Max (
value1 As Vector2F,
value2 As Vector2F
) As Vector2F
public:
static Vector2F Max(
Vector2F value1,
Vector2F value2
)
static member Max :
value1 : Vector2F *
value2 : Vector2F -> Vector2F
Parameters
- value1
- Type: Slash.Math.Algebra.VectorsVector2F
First vector. - value2
- Type: Slash.Math.Algebra.VectorsVector2F
Second vector.
Return Value
Type:
Vector2F Vector which components are the maximum of the respective components of the two passed vectors.
See Also