mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed glm::decompose #869
This commit is contained in:
parent
04af69386d
commit
c142d46ca3
@ -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…
Reference in New Issue
Block a user