Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32622/src/net/sourceforge/bprocessor/gl/view
Modified Files:
Display.java
Log Message:
refactored material
Index: Display.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** Display.java 17 Dec 2007 11:21:15 -0000 1.70
--- Display.java 17 Dec 2007 14:20:41 -0000 1.71
***************
*** 485,493 ****
private static float[] colorOf(Container space) {
if (space.isVoid()) {
! return misty;
} else if (space.isConstructionSpace()) {
! return Defaults.getFrontColor();
} else {
! return Defaults.getBackColor();
}
}
--- 485,493 ----
private static float[] colorOf(Container space) {
if (space.isVoid()) {
! return Defaults.getVoidMaterial().getColor();
} else if (space.isConstructionSpace()) {
! return Defaults.getConstructionMaterial().getColor();
} else {
! return Defaults.getFunctionalMaterial().getColor();
}
}
|