Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6867/src/net/sourceforge/bprocessor/model
Modified Files:
Camera.java
Log Message:
Removed dependency on jogl
Index: Camera.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Camera.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Camera.java 7 Nov 2006 10:51:24 -0000 1.26
--- Camera.java 13 Nov 2006 12:24:50 -0000 1.27
***************
*** 16,21 ****
import org.apache.log4j.Logger;
- import net.java.games.jogl.GL;
-
/**
* Camera for view placement in the model have a center and at camera position
--- 16,19 ----
***************
*** 566,574 ****
*/
public void addClipplane(ClippingPlane cp) {
! if (clipplanes.size() < GL.GL_MAX_CLIP_PLANES - 1) {
! clipplanes.add(cp);
! int num = clipplanes.indexOf(cp);
! cp.setNumber(num);
! }
}
--- 564,570 ----
*/
public void addClipplane(ClippingPlane cp) {
! clipplanes.add(cp);
! int num = clipplanes.indexOf(cp);
! cp.setNumber(num);
}
|