mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
Unittest-win: Fixed demo failed
This commit is contained in:
parent
da591f8cb3
commit
3ce937a1db
@ -615,9 +615,9 @@ void QuaternionSlerp(vec_t *p, vec_t *q, float t, vec_t *qt)
|
||||
float sclp, sclq;
|
||||
float cosom = (p[0] * q[0] + p[1] * q[1] + p[2] * q[2] + p[3] * q[3]);
|
||||
|
||||
if ((1.0f + cosom) > 0.000001f)
|
||||
if ((1.0 + cosom) > 0.000001)
|
||||
{
|
||||
if ((1.0f - cosom) > 0.000001f)
|
||||
if ((1.0 - cosom) > 0.000001)
|
||||
{
|
||||
real_t cosomega = Q_acos(real_t(cosom));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user