Exemple #1
0
        public static FZOrientation Deserialize(FZReader reader)
        {
            var obj = new FZOrientation();

            obj.address   = (int)reader.BaseStream.Position;
            obj.right     = reader.ReadVector3();
            obj.positionX = -reader.ReadSingle();
            obj.up        = reader.ReadVector3();
            obj.positionY = reader.ReadSingle();
            obj.forward   = reader.ReadVector3();
            obj.positionZ = reader.ReadSingle();

            return(obj);
        }