EditablePathUtility.cs 285 B

1234567891011121314
  1. using UnityEngine;
  2. using UnityEditor;
  3. namespace UnityEditor.Experimental.Rendering.Universal.Path2D
  4. {
  5. internal class EditablePathUtility
  6. {
  7. public static int Mod(int x, int m)
  8. {
  9. int r = x % m;
  10. return r < 0 ? r + m : r;
  11. }
  12. }
  13. }