Esempio n. 1
0
 public DDSPack(string inputFileName, Stream output)
 {
     using (var src = File.OpenRead(inputFileName))
     {
         var model = new RW4Model();
         model.New();
         pack(src, model);
         model.Write(output);
     }
 }
Esempio n. 2
0
        public ModelPack(string inputFileName, Stream output)
        {
            var src_model = new OgreXmlReader(inputFileName);

            var model = new RW4Model();
            model.New();

            pack(src_model, model);

            model.Write(output);
        }