29 lines
638 B
C#
29 lines
638 B
C#
using System;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x02000030 RID: 48
|
|
public struct BoundingSphere
|
|
{
|
|
// Token: 0x060003CF RID: 975 RVA: 0x00006CBC File Offset: 0x00004EBC
|
|
public BoundingSphere(Vector3 pos, float rad)
|
|
{
|
|
this.position = pos;
|
|
this.radius = rad;
|
|
}
|
|
|
|
// Token: 0x060003D0 RID: 976 RVA: 0x00006CD0 File Offset: 0x00004ED0
|
|
public BoundingSphere(Vector4 packedSphere)
|
|
{
|
|
this.position = new Vector3(packedSphere.x, packedSphere.y, packedSphere.z);
|
|
this.radius = packedSphere.w;
|
|
}
|
|
|
|
// Token: 0x04000043 RID: 67
|
|
public Vector3 position;
|
|
|
|
// Token: 0x04000044 RID: 68
|
|
public float radius;
|
|
}
|
|
}
|