Sets the position and rotation of a polymodel. Used for rendering and collision detection
| 2723 | |
| 2724 | // Sets the position and rotation of a polymodel. Used for rendering and collision detection |
| 2725 | void SetModelAnglesAndPos(poly_model *po, float *normalized_time, uint32_t subobj_flags) { |
| 2726 | ASSERT(!(po->flags & PMF_NOT_RESIDENT)); |
| 2727 | |
| 2728 | if (po->flags & PMF_TIMED) { |
| 2729 | SetModelAnglesAndPosTimed(po, normalized_time, subobj_flags); |
| 2730 | return; |
| 2731 | } else { |
| 2732 | SetModelAngles(po, normalized_time); |
| 2733 | SetModelInterpPos(po, normalized_time); |
| 2734 | } |
| 2735 | } |
| 2736 | |
| 2737 | static vector Instance_fog_plane_stack[MAX_SUBOBJECTS]; |
| 2738 | static vector Instance_fog_portal_vert_stack[MAX_SUBOBJECTS]; |
no test coverage detected