[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java,1.13,1.14
Status: Pre-Alpha
Brought to you by:
henryml
From: Nordholt <nor...@us...> - 2005-10-28 12:19:09
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv961 Modified Files: View.java Log Message: added method to determine surface orientation compared to the camera Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** View.java 21 Oct 2005 11:57:09 -0000 1.13 --- View.java 28 Oct 2005 12:18:58 -0000 1.14 *************** *** 10,13 **** --- 10,14 ---- import net.sourceforge.bprocessor.model.Vertex; import net.sourceforge.bprocessor.model.Plane; + import net.sourceforge.bprocessor.model.Surface; import net.java.games.jogl.GLEventListener; *************** *** 201,203 **** --- 202,213 ---- */ public double getFar(); + + + /** + * Returns a boolean idicating wherther or not the camera is facing + * the front of the surface. + * @param surface the surface + * @return the boolean + */ + public boolean facingFront(Surface surface); } |