| 293 | } |
| 294 | |
| 295 | static void render_hand() |
| 296 | { |
| 297 | zRenderState(SDRS_OOBHand); |
| 298 | |
| 299 | xVec3 modelLoc = { 0.0f, 0.0f, 0.0f }; |
| 300 | xVec3 modelSize = { 0.0f, 0.0f, 1.0f }; |
| 301 | xVec3 modelYpr = { 0.0f, 0.0f, 0.0f }; |
| 302 | |
| 303 | modelLoc.x = shared.loc.x; |
| 304 | modelLoc.y = shared.loc.y; |
| 305 | |
| 306 | modelSize.x = fixed.hand_size_x; |
| 307 | modelSize.y = fixed.hand_size_y; |
| 308 | |
| 309 | modelYpr.x = fixed.hand_yaw; |
| 310 | modelYpr.y = fixed.hand_pitch; |
| 311 | modelYpr.z = fixed.hand_roll; |
| 312 | |
| 313 | render_model(*shared.model, modelLoc, modelSize, modelYpr); |
| 314 | } |
| 315 | } // namespace |
| 316 | } // namespace oob_state |
| 317 |
no test coverage detected