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; }
public Model(Mesh mesh, Texture tex) : this(mesh) { Texture = tex; }
public Model(Mesh mesh) : base() { Mesh = mesh; }