def update_shadow_sources(self):
        directions = (Vec3(1, 0, 0), Vec3(-1, 0, 0), Vec3(0, 1, 0),
                      Vec3(0, -1, 0), Vec3(0, 0, 1), Vec3(0, 0, -1))

        fov = 90.0 + 3.0
        for i, source in enumerate(self._shadow_sources):
            source.set_resolution(self.get_shadow_map_resolution())
            source.set_perspective_lens(
                fov, self._near_plane, self._radius, self._position, directions[i])
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/pynative/rp_point_light.py/RPPointLight.update_shadow_sources/original