返回 DeepSeek-Reasonix
render.py
1 import math
2
3 from geometry import elevation_deg
4
5
6 def shadow_factor():
7 """sin of the sun elevation; 0.5 at 30 degrees."""
8 return math.sin(elevation_deg())
9
9 lines PYTHON