380 |
lightParam.e2 << " " << |
lightParam.e2 << " " << |
381 |
"\\n"; |
"\\n"; |
382 |
} |
} |
383 |
|
GLERR |
384 |
|
|
385 |
for(Paper::Paper::iterator it = paper->begin(); it != paper->end(); ++it) { |
for(Paper::Paper::iterator it = paper->begin(); it != paper->end(); ++it) { |
386 |
|
|
387 |
(*it).setUp(&lightParam); |
(*it).setUp(&lightParam); |
388 |
|
|
389 |
|
GLERR |
390 |
glBegin(GL_QUADS); |
glBegin(GL_QUADS); |
391 |
coords1.vertex(corners[0]); |
coords1.vertex(corners[0]); |
392 |
coords1.vertex(corners[1]); |
coords1.vertex(corners[1]); |
394 |
coords1.vertex(corners[3]); |
coords1.vertex(corners[3]); |
395 |
glEnd(); |
glEnd(); |
396 |
|
|
397 |
|
GLERR |
398 |
(*it).tearDown(); |
(*it).tearDown(); |
399 |
|
GLERR |
400 |
} |
} |
401 |
|
|
402 |
GLERR |
GLERR |