float[] newEye = JOGLUtils.getEyeFromModelView( context ); float[] viewVec = Vectors3f.sub( worldTranslation, newEye ); Vectors3f.normalizeInPlace( viewVec );
glu.gluLookAt( eye[0], eye[1], eye[2], lookAt[0], lookAt[1], lookAt[2], 0, 1, 0 ); trackBall.multModelMatrix( gl, centroid ); float[] newEye = JOGLUtils.getEyeFromModelView( gl ); if ( LOG.isDebugEnabled() ) { LOG.debug( "farClippingPlane:" + farClippingPlane );