ace/Source/ACE.DatLoader/Entity/Plane.cs
Mag-nus 2f9d3e1678
Split fixes, repeat logout protection (#1138)
* Few more vector3 value type fixes

* Basic fix for HandleActionStackableSplitToContainer

Still need to fix the network messages

* Releat logout protection
2018-12-13 22:04:02 -06:00

22 lines
484 B
C#

using System.IO;
using System.Numerics;
namespace ACE.DatLoader.Entity
{
public class Plane : IUnpackable
{
public Vector3 N { get; private set; }
public float D { get; private set; }
public void Unpack(BinaryReader reader)
{
N = reader.ReadVector3();
D = reader.ReadSingle();
}
public System.Numerics.Plane ToNumerics()
{
return new System.Numerics.Plane(N, D);
}
}
}