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: 0x0200128E RID: 4750
|
|
[Token(Token = "0x200128E")]
|
|
internal static class ClusterUtil
|
|
{
|
|
// Token: 0x06006BC9 RID: 27593 RVA: 0x0017E9D8 File Offset: 0x0017CBD8
|
|
[Token(Token = "0x6006BC9")]
|
|
[Address(RVA = "0x146B4A0", Offset = "0x146A2A0", VA = "0x18146B4A0")]
|
|
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: 0x06006BCA RID: 27594 RVA: 0x0017EA08 File Offset: 0x0017CC08
|
|
[Token(Token = "0x6006BCA")]
|
|
[Address(RVA = "0x146B650", Offset = "0x146A450", VA = "0x18146B650")]
|
|
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;
|
|
}
|
|
}
|
|
}
|