提交 935df579 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 4cdb1f1c
......@@ -12,12 +12,18 @@ shperes = []
def create_sphere():
shpere = Entity(
shpere_l = Entity(
# model="sphere",
model="../../../objs/models/drops.obj",
texture=load_texture("../../../objs/textures/rock_snow.jpg"),
position=camera_ship.position, scale=500)
shperes.append(shpere)
position=camera_ship.position+Vec3(-260,0,0), scale=500)
shperes.append(shpere_l)
shpere_r = Entity(
# model="sphere",
model="../../../objs/models/drops.obj",
texture=load_texture("../../../objs/textures/football.jpg"),
position=camera_ship.position+Vec3(260,0,0), scale=500)
shperes.append(shpere_r)
# camera.parent = camera_ship.planet
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册