Method MinOrMax
View SourceMinOrMax(Single, Single)
Returns either the minimum or maximum of two values.
Declaration
protected abstract float MinOrMax(float x, float y)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | x | The first value. |
| Single | y | The second value. |
Returns
| Type | Description |
|---|---|
| Single | The minimum or the maximum of two values. |
Remarks
The child class overrides this method to return either the minimum or maximum.