Click or drag to resize

GLMathfFloorMod Method (Int32, Int32)

Mod operator that also works for negative m.

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(2, 2, 0)]
public static int FloorMod(
	int m,
	int n
)

Parameters

m
Type: SystemInt32
The m.
n
Type: SystemInt32
The n.

Return Value

Type: Int32
System.Int32.
See Also