 | MathUtilsWrapValue Method |
Wraps a value with a specific base. E.g. 360°
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float WrapValue(
float x,
float y
)
Public Shared Function WrapValue (
x As Single,
y As Single
) As Single
public:
static float WrapValue(
float x,
float y
)
static member WrapValue :
x : float32 *
y : float32 -> float32
Parameters
- x
- Type: SystemSingle
Value to wrap - y
- Type: SystemSingle
Value to wrap around
Return Value
Type:
Single Wraped value
See Also