mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Few more vector3 value type fixes * Basic fix for HandleActionStackableSplitToContainer Still need to fix the network messages * Releat logout protection
22 lines
484 B
C#
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);
|
|
}
|
|
}
|
|
}
|