question: public void sphericalToWorld ( Vector3 vec ) { if ( pjUnprojected == null ) { String projStr = "+proj=longlat +a=" + projInfo . getSemiMajorAxis ( ) + " +b=" + projInfo . getSemiMinorAxis ( ) + " +no_defs" ; pjUnprojected = Proj4 . newInstance ( projStr ) ; } if ( pjProjected == null ) { pjProjected = Proj4 . newInstance ( proj4String ) ; } try { vec . toArray ( coord ) ; coord [ 0 ] = Math . toRadians ( coord [ 0 ] ) ; coord [ 1 ] = Math . toRadians ( coord [ 1 ] ) ; pjUnprojected . transform ( pjProjected , coord ) ; vec . setX ( coord [ 0 ] ) ; vec . setY ( coord [ 1 ] ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
target:  Convert lon/lat (degree) coordinate to virtual world coordinates.