| 2729 | } |
| 2730 | |
| 2731 | void cruise_bubble::state_player_aim::update_animation(F32 dt) |
| 2732 | { |
| 2733 | F32 r = |
| 2734 | range_limit<F32>(this->yaw_vel * current_tweak->player.aim.anim_delta, -1.0f, 1.0f); |
| 2735 | xAnimSingle* s = globals.player.ent.model->Anim->Single; |
| 2736 | s->BilinearLerp[0] = 0.5f * ((1.0f + s->BilinearLerp[0]) + r); |
| 2737 | } |
| 2738 | |
| 2739 | void cruise_bubble::state_player_aim::apply_yaw() |
| 2740 | { |