Method FloorMod
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
FloorMod(int, int)
Mod operator that also works for negative m.
[Version(2, 2, 0)]
public static int FloorMod(int m, int n)
Parameters
Returns
- int
The floor modulus of
mandn.
FloorMod(float, float)
Mod operator that also works for negative m.
[Version(2, 2, 0)]
public static float FloorMod(float m, float n)
Parameters
Returns
- float
The floor modulus of
mandn.