Пример #1
0
 public MeshCompiler()
 {
     ImporterFactory = new Factory<string, IMeshImporter>();
     ImporterFactory.Add(".xml", () => new Meshes.Converters.OgreXmlConverter());
     ImporterFactory.Add(".dae", () => new Meshes.Converters.AssimpConverter());
     ImporterFactory.Add(".fbx", () => new Meshes.Converters.AssimpConverter());
 }
Пример #2
0
 public SkeletonCompiler()
 {
     ImporterFactory = new Factory<string, ISkeletonConverter>();
     ImporterFactory.Add(".xml", () => new Skeletons.Converters.OgreXmlConverter());
 }