@@ -7,19 +7,19 @@ def setup():
77 mode_3d ()
88
99 # Directional Light
10- dir_light = create_directional_light (0.5 , 0.24 , 1.0 , 1500.0 )
10+ dir_light = create_directional_light (( 0.5 , 0.24 , 1.0 ) , 1500.0 )
1111
1212 # Point Lights
13- point_light_a = create_point_light (1.0 , 0.5 , 0.25 , 1000000.0 , 200.0 , 0.5 )
13+ point_light_a = create_point_light (( 1.0 , 0.5 , 0.25 ) , 1000000.0 , 200.0 , 0.5 )
1414 point_light_a .position (- 25.0 , 5.0 , 51.0 )
1515 point_light_a .look_at (0.0 , 0.0 , 0.0 )
1616
17- point_light_b = create_point_light (0.0 , 0.5 , 0.75 , 2000000.0 , 200.0 , 0.25 )
17+ point_light_b = create_point_light (( 0.0 , 0.5 , 0.75 ) , 2000000.0 , 200.0 , 0.25 )
1818 point_light_b .position (0.0 , 5.0 , 50.5 )
1919 point_light_b .look_at (0.0 , 0.0 , 0.0 )
2020
2121 # Spot Light
22- spot_light = create_spot_light (0.25 , 0.8 , 0.19 , 15.0 * 1000000.0 , 200.0 , 0.84 , 0.0 , 0.7854 )
22+ spot_light = create_spot_light (( 0.25 , 0.8 , 0.19 ) , 15.0 * 1000000.0 , 200.0 , 0.84 , 0.0 , 0.7854 )
2323 spot_light .position (40.0 , 0.0 , 70.0 )
2424 spot_light .look_at (0.0 , 0.0 , 0.0 )
2525
0 commit comments