mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qw] Actually fix the idle scale
Oops. I really need to get cl_view merged.
This commit is contained in:
parent
d3b7f7fbc8
commit
076f424d39
1 changed files with 2 additions and 2 deletions
|
@ -518,8 +518,8 @@ idle_quat (vec4f_t axis, cvar_t *cycle, cvar_t *level)
|
|||
}
|
||||
float scale = sin (cl.time * cycle->value);
|
||||
float ang = scale * level->value * v_idlescale->value;
|
||||
float c = cos (ang);
|
||||
float s = sin (ang);
|
||||
float c = cos (ang * M_PI / 360);
|
||||
float s = sin (ang * M_PI / 360);
|
||||
return axis * s + identity * c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue