Fix everything?
This commit is contained in:
@@ -12,15 +12,15 @@ LOOP_DELAY = 0.005 # In seconds
|
||||
|
||||
# Testing embedding the mirrors in the world
|
||||
board = Board()
|
||||
world = solar.World(board, tilt_deg=15) # The world is tilted 15 degrees around y-axis
|
||||
world = solar.World(board, tilt_deg=0)
|
||||
|
||||
HEIGHT = 30
|
||||
|
||||
source = solar.Source(world, pos=(30, 50, 100))
|
||||
target = solar.Target(world, pos=(0, 0, 40))
|
||||
source = solar.Source(world, pos=(0, 50, 0))
|
||||
target = solar.Target(world, pos=(0, 50, 0))
|
||||
|
||||
# Create mirrors in a 3x2 grid
|
||||
for x in range(3):
|
||||
for x in range(4):
|
||||
for y in range(2):
|
||||
mirror = solar.Mirror(world, cluster_x=x, cluster_y=y)
|
||||
world.add_mirror(mirror)
|
||||
|
||||
Reference in New Issue
Block a user