ace/Source/ACE.DatLoader/Entity/Sphere.cs
Mag-nus 1c14e76f5f
ACE.DatLoader bug fixes (#622)
* ACE.DatLoader LandblockInfo removed testing code

* ACE.DatLoader rename PackableExtensions to UnpackableExtensions

* ACE.DatLoader.Tests: Better testing to make sure full objects are being parsed

* ACE.DatLoader bug fixes

* ACE.DatLoader: Add missing file for build

* ACE.DatLoader Switch to native Vector3 object
2018-02-05 13:34:12 -06:00

17 lines
382 B
C#

using System.IO;
using System.Numerics;
namespace ACE.DatLoader.Entity
{
public class Sphere : IUnpackable
{
public Vector3 Origin { get; private set; }
public float Radius { get; private set; }
public void Unpack(BinaryReader reader)
{
Origin = reader.ReadVector3();
Radius = reader.ReadSingle();
}
}
}