[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java,1.56,1.57
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-02-02 14:18:40
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29670/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Surface.normal() is normalized Ð length() = 1 Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** View.java 2 Feb 2006 12:15:04 -0000 1.56 --- View.java 2 Feb 2006 14:18:31 -0000 1.57 *************** *** 1210,1214 **** Vertex norm = s.normal(); if (norm != null) { - norm.scale(1 / norm.length()); gl.glNormal3d(norm.getX(), norm.getY(), norm.getZ()); } --- 1210,1213 ---- |