Exemplo n.º 1
0
 public void DebugRenderFace(Gem.Render.RenderContext Context, Gem.Geo.EMFace Face)
 {
     Context.Color = new Vector3(0, 1, 1);
     Context.LightingEnabled = false;
     Context.ApplyChanges();
     foreach (var edge in Face.edges)
         Context.DrawLineIM(Mesh.Verticies[edge.Verticies[0]], Mesh.Verticies[edge.Verticies[1]]);
 }
Exemplo n.º 2
0
 public void DebugRender(Gem.Render.RenderContext Context)
 {
     Context.Color = new Vector3(1, 0, 0);
     Context.LightingEnabled = false;
     Context.ApplyChanges();
     foreach (var edge in Mesh.Edges)
         Context.DrawLineIM(Mesh.Verticies[edge.Verticies[0]], Mesh.Verticies[edge.Verticies[1]]);
 }