Singularity/Library/PackageCache/com.unity.2d.path@5.0.2/Editor/EditablePath/EditablePathUtility.cs

15 lines
255 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
using UnityEngine;
using UnityEditor;
namespace UnityEditor.U2D.Path
{
public class EditablePathUtility
{
public static int Mod(int x, int m)
{
int r = x % m;
return r < 0 ? r + m : r;
}
}
}