修改水

This commit is contained in:
2026-01-01 22:00:33 +08:00
parent 040a222bd6
commit 9ceffccd39
1800 changed files with 103929 additions and 139495 deletions

View File

@@ -1,11 +1,8 @@
using System;
using UnityEngine;
using System;
using System.Collections;
using System.Runtime.InteropServices;
#if (OBI_MATHEMATICS)
using Unity.Mathematics;
#endif
namespace Obi
{
[Serializable]
@@ -32,10 +29,5 @@ namespace Obi
this.z = x;
this.w = x;
}
#if (OBI_MATHEMATICS)
public static implicit operator VInt4(int4 i) => new VInt4(i.x, i.y, i.z, i.w);
public static implicit operator int4(VInt4 i) => new int4(i.x, i.y, i.z, i.w);
#endif
}
}