from objects.world import World def print_status(world: World): for i, mirror in enumerate(world.mirrors): phi, theta = mirror.get_angles() print( f"Mirror {i} ({mirror.cluster_x}, {mirror.cluster_y}) angles -> phi: {phi:.2f}°, theta: {theta:.2f}°" )