204 |
wid, h = (600, 600) |
wid, h = (600, 600) |
205 |
l = 300 |
l = 300 |
206 |
cc=[(vs.matcher.addSub(into, |
cc=[(vs.matcher.addSub(into, |
207 |
vs.coords.coordsys(into, d, -wid/2, -l-h, wid, h),"foo"+str(d)), |
vs.coords.coordsys(into, d, 0, -2*l, wid/2, h/2),"foo"+str(d)), |
208 |
vs.matcher.addSub(into, |
vs.matcher.addSub(into, |
209 |
vs.coords.coordsys(into, d, -wid/2-0.75*wid*self.movel, l, wid, h), "bar"+str(d))) |
vs.coords.coordsys(into, d, -0.75*wid*self.movel, 2*l, wid/2, h/2), "bar"+str(d))) |
210 |
for d in (600, 800)] |
for d in (600, 800)] |
211 |
|
|
212 |
putnoc(vs, getDList(""" |
putnoc(vs, getDList(""" |
501 |
for y in (2-dy,2,2+dy)] |
for y in (2-dy,2,2+dy)] |
502 |
cs = [] |
cs = [] |
503 |
for ctr in ctrs: |
for ctr in ctrs: |
504 |
coordsys = vs.coords.coordsys(0, 20, ctr[0]-w/2, ctr[1]-h/2, w, h) |
coordsys = vs.coords.coordsys(0, 20, ctr[0], ctr[1], w/2, h/2) |
505 |
vs.matcher.add(coordsys, str(dx)+str(ctr[1])) |
vs.matcher.add(coordsys, str(dx)+str(ctr[1])) |
506 |
cs.append((coordsys, ctr)) |
cs.append((coordsys, ctr)) |
507 |
for c in cs: |
for c in cs: |
519 |
Disable TEXTURE_2D |
Disable TEXTURE_2D |
520 |
Color 0 0 0 |
Color 0 0 0 |
521 |
Begin LINE_STRIP |
Begin LINE_STRIP |
522 |
Vertex -1 -1 |
Vertex 0 0 |
523 |
Vertex 1 1 |
Vertex 1 1 |
524 |
End |
End |
525 |
Color 1 1 1 |
Color 1 1 1 |