| 593 | } |
| 594 | |
| 595 | void transplayer() |
| 596 | { |
| 597 | glLoadIdentity(); |
| 598 | |
| 599 | glRotatef(camera1->roll, 0, 0, 1); |
| 600 | glRotatef(camera1->pitch, -1, 0, 0); |
| 601 | glRotatef(camera1->yaw, 0, 1, 0); |
| 602 | |
| 603 | // move from RH to Z-up LH quake style worldspace |
| 604 | glRotatef(-90, 1, 0, 0); |
| 605 | glScalef(1, -1, 1); |
| 606 | |
| 607 | glTranslatef(-camera1->o.x, -camera1->o.y, -camera1->o.z); |
| 608 | } |
| 609 | |
| 610 | glmatrixf clipmatrix; |
| 611 |
no outgoing calls
no test coverage detected