| 548 | } |
| 549 | |
| 550 | void HTextureRotUVPointsOnRoomFace(room *roomp, int facenum, float *rotmat, g3UVL *uvcenter) { |
| 551 | int v; |
| 552 | face *facep = &roomp->faces[facenum]; |
| 553 | g3UVL tuv; |
| 554 | |
| 555 | for (v = 0; v < facep->num_verts; v++) { |
| 556 | HTextureRotUVPoint(&tuv, rotmat, &facep->face_uvls[v], uvcenter); |
| 557 | facep->face_uvls[v].u = tuv.u; |
| 558 | facep->face_uvls[v].v = tuv.v; |
| 559 | } |
| 560 | } |
| 561 | |
| 562 | void HTextureCreate2DRotMat(float *rotmat, angle ang) { |
| 563 | float sinang, cosang; |
no test coverage detected