pops the old context
| 79 | |
| 80 | // pops the old context |
| 81 | void g3_DoneInstance() { |
| 82 | --sInstanceDepth; |
| 83 | ASSERT(sInstanceDepth >= 0); |
| 84 | |
| 85 | View_position = sInstanceStack[sInstanceDepth].m_viewPosition; |
| 86 | View_matrix = sInstanceStack[sInstanceDepth].m_viewMatrix; |
| 87 | Unscaled_matrix = sInstanceStack[sInstanceDepth].m_unscaledMatrix; |
| 88 | memcpy(gTransformModelView, sInstanceStack[sInstanceDepth].m_modelView, sizeof(gTransformModelView)); |
| 89 | g3_UpdateFullTransform(); |
| 90 | } |
no test coverage detected