- v2f input = { player->input_js2h->axis.value,
- player->input_js2v->axis.value };
-
- if( cl_invert_y )
- input[1] *= -1.0f;
-
- if( (v2_length2(last_input) > 0.001f) && (v2_length2(input) > 0.001f) ){
- v2_sub( input, last_input, vel );
- v2_muls( vel, 1.0f/vg.time_delta, vel );
- }
- else{
- v2_zero( vel );
- }
+ angles[0] += jlook[0] * vg.time_delta * 4.0f * sensitivity;
+ float input_y = jlook[1] * vg.time_delta * 4.0f;
+ if( cl_invert_y ) input_y *= -1.0f;