PO/Library/PackageCache/com.unity.2d.path@4.0.2/Editor/EditablePath/EditablePathUtility.cs

15 lines
255 B
C#

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;
}
}
}