Beispiel #1
0
 public Mesh CompileToDL()
 {
     int handle = Gl.glGenLists(IDManager.NewID);
     Mesh result = new Mesh(handle);
     Gl.glNewList(handle, Gl.GL_COMPILE);
     Draw();
     Gl.glEndList();
     return result;
 }
Beispiel #2
0
 public Model(Mesh mesh, Texture tex)
     : this(mesh)
 {
     Texture = tex;
 }
Beispiel #3
0
 public Model(Mesh mesh)
     : base()
 {
     Mesh = mesh;
 }