public MeshViewer(JFrame f) { super(f); }
-
public void _display(GLAutoDrawable drawable, GL gl) {
if (transforms==null) return;
gl.glDisable(GL.GL_LIGHTING);
gl.glShadeModel(GL.GL_FLAT);
-
updateVisibility(gl, tile);
Matrix projection = Matrix.getProjectionMatrix(gl);
}
}
-
private void draw(GL gl, boolean triangles, Iterable<Mesh.T> tris) { draw(gl, triangles, tris, Matrix.ONE); }
private void draw(GL gl, boolean triangles, Iterable<Mesh.T> tris, Matrix m) {
float red = 0.0f;