thief-mission-viewer/project/code/LGS/Extensions.cs

13 lines
272 B
C#
Raw Normal View History

2024-07-21 21:13:31 +00:00
using System.IO;
using System.Numerics;
namespace KeepersCompound.LGS;
public static class Extensions
{
public static Vector3 ReadVec3(this BinaryReader reader)
{
return new Vector3(reader.ReadSingle(), reader.ReadSingle(), reader.ReadSingle());
}
}