606162636465666768
viewDistance = cam.getFrustumFar(); camPos = cam.getLocation(); world.setViewDistance(viewDistance); camFrustum = new CameraFrustum(cam); worldBound = new BoundingSphere(viewDistance * 1.1f, cam.getLocation()); }