[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view Display.java, NONE, 1.1 View.java, 1.
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-09-22 17:16:32
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25415/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Added Files: Display.java Log Message: Started new display implementation --- NEW FILE: Display.java --- //--------------------------------------------------------------------------------- // $Id: Display.java,v 1.1 2007/09/22 17:16:26 henryml Exp $ // // Copyright (c) 2005 The BProcessor Team (http://bprocessor.sourceforge.net) // Released under the Lesser GNU Public License v2.1 //--------------------------------------------------------------------------------- package net.sourceforge.bprocessor.gl.view; /** * */ public class Display { private static boolean selecting; /** * * @return selecting */ public static boolean selecting() { return selecting; } /** * * @param value selecting */ public static void selecting(boolean value) { selecting = value; } /** * */ public static void draw() { } } Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.230 retrieving revision 1.231 diff -C2 -d -r1.230 -r1.231 *** View.java 21 Sep 2007 12:02:29 -0000 1.230 --- View.java 22 Sep 2007 17:16:25 -0000 1.231 *************** *** 83,86 **** --- 83,87 ---- private static final boolean DISP = false; + private static final boolean UNIFIED_DISPLAY = false; /** OBJECTS flag */ *************** *** 687,691 **** gl.glLineWidth(1.0f); ! drawAll(hitdetection); gl.glEnable(GL.GL_DEPTH_TEST); --- 688,699 ---- gl.glLineWidth(1.0f); ! if (UNIFIED_DISPLAY) { ! Display.selecting(hitdetection); ! initNames(gl); ! Display.draw(); ! Display.selecting(false); ! } else { ! drawAll(hitdetection); ! } gl.glEnable(GL.GL_DEPTH_TEST); |