Update sign of all components of scale.

Update all components of scale when determinant is negateve,, not just x component
This commit is contained in:
pbruvoll 2016-11-25 16:00:05 +01:00 committed by GitHub
parent 29f600dfbb
commit b2afe32676

View File

@ -125,7 +125,7 @@ namespace detail
{
for(length_t i = 0; i < 3; i++)
{
Scale.x *= static_cast<T>(-1);
Scale[i] *= static_cast<T>(-1);
Row[i] *= static_cast<T>(-1);
}
}