equal
deleted
inserted
replaced
11 rotx=0.3 |
11 rotx=0.3 |
12 cam.rotate((cos(rotx),-sin(rotx),0.,0.)) |
12 cam.rotate((cos(rotx),-sin(rotx),0.,0.)) |
13 rt.setcamera(cam) |
13 rt.setcamera(cam) |
14 |
14 |
15 mat = Material(colour=(0.9, 0.9, 0.9)) |
15 mat = Material(colour=(0.9, 0.9, 0.9)) |
16 LoadLightwaveLwoFile(rt, "../models/car/Nissan300ZX.lwo", mat, smooth=False, scale=0.4) |
16 LoadLightwaveLwoFile(rt, "../models/lwo/Nissan300ZX.lwo", mat, smooth=False, scale=0.4) |
17 |
17 |
18 light = Light(position=(-5.0, 10.0, 8.0), colour=(0.9, 0.9, 0.9)) |
18 light = Light(position=(-5.0, 10.0, 8.0), colour=(0.9, 0.9, 0.9)) |
19 rt.addlight(light) |
19 rt.addlight(light) |
20 |
20 |
21 imagesize = (800, 600) |
21 imagesize = (800, 600) |