system fix : normalize quaternion after catmullrom

This commit is contained in:
turanszkij
2018-05-29 11:21:18 +01:00
parent d2c9c9626f
commit 0fdb1e4533
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -294,6 +294,7 @@ void Transform::CatmullRom(const Transform* a, const Transform* b, const Transfo
XMLoadFloat4(&d->rotation),
t
);
R = XMQuaternionNormalize(R);
XMVECTOR S = XMVectorCatmullRom(
XMLoadFloat3(&a->scale),
XMLoadFloat3(&b->scale),
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wiVersion
// minor features, major updates
const int minor = 17;
// minor bug fixes, alterations, refactors, updates
const int revision = 27;
const int revision = 28;
long GetVersion()