Exemple #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();
 }
Exemple #2
0
 protected M2File()
 {
     Vertices = new M2Vertex[0];
     Passes   = new List <M2RenderPass>();
     Indices  = new ushort[0];
 }
Exemple #3
0
 protected M2File()
 {
     Vertices = new M2Vertex[0];
     Passes = new List<M2RenderPass>();
     Indices = new ushort[0];
 }