From 1f84ae5d7b46cb5739ca36190a7cc44f0578da22 Mon Sep 17 00:00:00 2001 From: s1lent Date: Mon, 26 Aug 2019 06:05:27 +0700 Subject: [PATCH] Unittest-win: Fixed demo failed #2 --- regamedll/dlls/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/animation.cpp b/regamedll/dlls/animation.cpp index d61b9a3e..2fb51853 100644 --- a/regamedll/dlls/animation.cpp +++ b/regamedll/dlls/animation.cpp @@ -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) {