Ejemplo n.º 1
0
        public static Vector3S ReadVector3S(this BinaryReader self)
        {
            Vector3S result = new Vector3S();

            result.X = self.ReadInt16();
            result.Y = self.ReadInt16();
            result.Z = self.ReadInt16();

            return(result);
        }
Ejemplo n.º 2
0
 public static void Write(this BinaryWriter self, Vector3S value)
 {
     self.Write(value.X);
     self.Write(value.Y);
     self.Write(value.Z);
 }