Пример #1
0
 protected M2File(string path)
 {
     FileName       = path ?? "";
     ModelRoot      = Path.GetDirectoryName(path) ?? "";
     TextureInfos   = new TextureInfo[0];
     Vertices       = new M2Vertex[0];
     Passes         = new List <M2RenderPass>();
     Indices        = new ushort[0];
     DisplayOptions = new CreatureDisplayInfo();
 }
Пример #2
0
 protected M2File()
 {
     Vertices = new M2Vertex[0];
     Passes   = new List <M2RenderPass>();
     Indices  = new ushort[0];
 }
Пример #3
0
 protected M2File()
 {
     Vertices = new M2Vertex[0];
     Passes = new List<M2RenderPass>();
     Indices = new ushort[0];
 }