mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
Unittest-win: Fixed demo failed #2
This commit is contained in:
parent
1f38db2778
commit
1f84ae5d7b
@ -613,7 +613,7 @@ 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]);
|
||||
real_t cosom = (p[0] * q[0] + p[1] * q[1] + p[2] * q[2] + p[3] * q[3]);
|
||||
|
||||
if ((1.0 + cosom) > 0.000001)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user