MathHelper.Max Method
Returns the greater of two values.
Syntax
'Declaration
Public Shared Function Max ( _
value1 As Single, _
value2 As Single _
) As Single
public static float Max (
float value1,
float value2
)
public:
static float Max(
float value1,
float value2
)
Parameters
Return Value
Type: Single
The greater value.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
MathHelper Class
MathHelper Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone