public DDSPack(string inputFileName, Stream output) { using (var src = File.OpenRead(inputFileName)) { var model = new RW4Model(); model.New(); pack(src, model); model.Write(output); } }
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); }