readonly DtSegInterval

This commit is contained in:
ikpil 2023-07-08 10:54:07 +09:00
parent 6b30d99651
commit deeee5e9d2
2 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,10 @@
namespace DotRecast.Detour namespace DotRecast.Detour
{ {
public class DtSegInterval public readonly struct DtSegInterval
{ {
public long refs; public readonly long refs;
public int tmin; public readonly int tmin;
public int tmax; public readonly int tmax;
public DtSegInterval(long refs, int tmin, int tmax) public DtSegInterval(long refs, int tmin, int tmax)
{ {