提交 1e511510 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 deb70078
...@@ -18,7 +18,7 @@ if __name__ == '__main__': ...@@ -18,7 +18,7 @@ if __name__ == '__main__':
""" """
# 地球在中心位置 # 地球在中心位置
earth = Earth(init_position=[0, 0, 0], init_velocity=[0, 0, 0], earth = Earth(init_position=[0, 0, 0], init_velocity=[0, 0, 0],
rotation_speed=0, texture="earth_hd.jpg") texture="earth_hd.jpg")
D = earth.diameter * 1.2 D = earth.diameter * 1.2
init_vel = 5.116 init_vel = 5.116
# 在地球周围创建 6 个月球(初速度为0) # 在地球周围创建 6 个月球(初速度为0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册