private float distanceToCam(Spatial spat) {
private float distanceToCam(SceneElement spat) {
    private float distanceToCam(Spatial spat) {        if (spat.queueDistance != Float.NEGATIVE_INFINITY)                return spat.queueDistance;        Camera cam = renderer.getCamera();        spat.queueDistance = 0;        if (Vector3f.isValidVector(cam.getLocation())                && Vector3f.isValidVector(spat.getWorldTranslation()))                spat.queueDistance = cam.getLocation().distanceSquared(                        spat.getWorldTranslation());        return spat.queueDistance;    }