mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-27 14:30:17 +00:00
20 lines
483 B
C#
20 lines
483 B
C#
|
using System.IO;
|
|||
|
|
|||
|
namespace SanAndreasUnity.Importing.Collision
|
|||
|
{
|
|||
|
public class Box
|
|||
|
{
|
|||
|
public const int Size = 2 * Vector3.Size + Surface.Size;
|
|||
|
|
|||
|
public readonly Vector3 Min;
|
|||
|
public readonly Vector3 Max;
|
|||
|
public readonly Surface Surface;
|
|||
|
|
|||
|
public Box(BinaryReader reader, Version version)
|
|||
|
{
|
|||
|
Min = new Vector3(reader);
|
|||
|
Max = new Vector3(reader);
|
|||
|
Surface = new Surface(reader);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|