Click or drag to resize
MathUtilsWrap Method
Wraps value so that it is between 0.0(included) and 1.0(not included). Examples: 1.5 -> 0.5, 1.0 -> 0.0, -0.75 -> 0.25.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static float Wrap(
	float value
)

Parameters

value
Type: SystemSingle
Value to wrap.

Return Value

Type: Single
Wraped value.
See Also