Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7016/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
simplification of GlObject
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.259
retrieving revision 1.260
diff -C2 -d -r1.259 -r1.260
*** View.java 15 Nov 2007 08:41:09 -0000 1.259
--- View.java 15 Nov 2007 10:41:53 -0000 1.260
***************
*** 1418,1425 ****
} else {
if (glo != null) {
! Vertex intersection = glo.intersection(ray);
! if (intersection != null) {
! return new Intersection(intersection, Intersection.PLANE_INTERSECTION, glo.getPlane());
! }
} else if (edge != null) {
if (!edge.getStrippled()) {
--- 1418,1422 ----
} else {
if (glo != null) {
! return glo.intersection(ray);
} else if (edge != null) {
if (!edge.getStrippled()) {
|