Example #1
0
        private ByamlPathPoint ReadPathPoint(BinaryDataReader reader)
        {
            ByamlPathPoint point = new ByamlPathPoint();

            point.Position = new Vector3F(reader.ReadSingle(), reader.ReadSingle(), reader.ReadSingle());
            point.Normal   = new Vector3F(reader.ReadSingle(), reader.ReadSingle(), reader.ReadSingle());
            point.Unknown  = reader.ReadUInt32();
            return(point);
        }
Example #2
0
 private void WritePathPoint(BinaryDataWriter writer, ByamlPathPoint point)
 {
     writer.Write(point.Position.X);
     writer.Write(point.Position.Y);
     writer.Write(point.Position.Z);
     writer.Write(point.Normal.X);
     writer.Write(point.Normal.Y);
     writer.Write(point.Normal.Z);
     writer.Write(point.Unknown);
 }