55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace ClusterLOD
|
|
{
|
|
// Token: 0x0200135E RID: 4958
|
|
[Token(Token = "0x200135E")]
|
|
internal static class ClusterUtil
|
|
{
|
|
// Token: 0x06006F3C RID: 28476 RVA: 0x00186F78 File Offset: 0x00185178
|
|
[Token(Token = "0x6006F3C")]
|
|
[Address(RVA = "0x1F468D0", Offset = "0x1F458D0", VA = "0x181F468D0")]
|
|
public static Bounds GetBounds(List<IClusterLODComponent> components)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
bool flag;
|
|
if (!flag || (ulong)1L == 0UL)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06006F3D RID: 28477 RVA: 0x00186FA8 File Offset: 0x001851A8
|
|
[Token(Token = "0x6006F3D")]
|
|
[Address(RVA = "0x1F46A80", Offset = "0x1F45A80", VA = "0x181F46A80")]
|
|
public static int GetVertexCount(List<IClusterLODComponent> components, NPBPPKDLKDN lod)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
num += num;
|
|
num++;
|
|
num += num;
|
|
int num2 = (int)(lod + (int)lod);
|
|
num++;
|
|
num += 19;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return num;
|
|
}
|
|
}
|
|
}
|