Merge pull request #582 from pbruvoll/master

Update sign of all components of scale. #582
master
Christophe ago%!(EXTRA string=9 years) committed by GitHub
commit 0c40430d65
  1. 2
      glm/gtx/matrix_decompose.inl

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

Loading…
Cancel
Save