Formatting
This commit is contained in:
9
helpers.py
Normal file
9
helpers.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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}°"
|
||||
)
|
||||
Reference in New Issue
Block a user