Fixed glm::decompose #869

master
Christophe Riccio ago%!(EXTRA string=6 years)
parent 04af69386d
commit c142d46ca3
  1. 2
      glm/gtx/matrix_decompose.inl

@ -153,7 +153,7 @@ namespace detail
// }
int i, j, k = 0;
float root, trace = Row[0].x + Row[1].y + Row[2].z;
T root, trace = Row[0].x + Row[1].y + Row[2].z;
if(trace > static_cast<T>(0))
{
root = sqrt(trace + static_cast<T>(1.0));

Loading…
Cancel
Save