mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 20:43:04 +00:00
17 lines
No EOL
460 B
C#
17 lines
No EOL
460 B
C#
using System.IO;
|
|
|
|
namespace SanAndreasUnity.Importing.Collision
|
|
{
|
|
public class Vertex
|
|
{
|
|
public const int SizeV1 = Vector3.Size;
|
|
public const int Size = Vector3.SizeCompressed;
|
|
|
|
public readonly Vector3 Position;
|
|
|
|
public Vertex(BinaryReader reader, Version version)
|
|
{
|
|
Position = new Vector3(reader, (version != Version.COLL) ? VectorCompression.Collision : VectorCompression.None);
|
|
}
|
|
}
|
|
} |