public void setFrustum ( Matrix4f projMatrix ) { if ( projMatrix != null ) { if ( mProjMatrix == null ) { mProjMatrix = new float [ 16 ] ; } mProjMatrix = projMatrix . get ( mProjMatrix , 0 ) ; mScene . setPickVisible ( false ) ; if ( mCuller != null ) { mCuller . set ( projMatrix ) ; } else { mCuller = new FrustumIntersection ( projMatrix ) ; } } mProjection = projMatrix ; }
Set the view frustum to pick against from the given projection matrix .