Beispiel #1
0
        Scene.Scene SceneForOpenFlightFile(string filename)
        {
            var bytes = System.IO.File.ReadAllBytes(filename);
            // TODO: zip handling
            var parser = new OpenFlight.Parser(filename);
            var scene  = OpenFlightReader.Parse(parser);

            return(scene);
        }
 public static Scene.Scene Parse(OpenFlight.Parser parser) => new OpenFlightReader(parser).Execute();
 OpenFlightReader(OpenFlight.Parser parser)
 {
     Parser = parser;
 }