Click or drag to resize
MathUtilsWrapValue Method
Wraps a value with a specific base. E.g. 360°

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static float WrapValue(
	float x,
	float y
)

Parameters

x
Type: SystemSingle
Value to wrap
y
Type: SystemSingle
Value to wrap around

Return Value

Type: Single
Wraped value
See Also