@Override
    public void computeLastDistance(Spatial owner) {
        if (owner.getWorldBound() != null) {
            BoundingVolume bv = owner.getWorldBound();
            lastDistance = bv.distanceSquaredTo(position);
        } else {
            lastDistance = owner.getWorldTranslation().distanceSquared(position);
        }
    }
Creates a PointLight at the given position, with the given radius
@param position the position in world space
@param radius the light radius
jme3-core/src/main/java/com/jme3/light/PointLight.java