79428034

Date: 2025-02-10 18:57:57
Score: 1
Natty:
Report link

I use this, it's from the Dx11 spec for repeat-texture addressing.

public static int Modulo(int x, int y)
{
    x= x % y;
    return x >= 0 ? x : x + y;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Benjamin Sims