instance at specified point with specified orientation
| 64 | |
| 65 | // instance at specified point with specified orientation |
| 66 | void g3_StartInstanceAngles(vector *pos, angvec *angles) { |
| 67 | if (angles == NULL) { |
| 68 | matrix ident; |
| 69 | vm_MakeIdentity(&ident); |
| 70 | g3_StartInstanceMatrix(pos, &ident); |
| 71 | return; |
| 72 | } |
| 73 | |
| 74 | matrix tm; |
| 75 | vm_AnglesToMatrix(&tm, angles->p, angles->h, angles->b); |
| 76 | |
| 77 | g3_StartInstanceMatrix(pos, &tm); |
| 78 | } |
| 79 | |
| 80 | // pops the old context |
| 81 | void g3_DoneInstance() { |
no test coverage detected