mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
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:
parent
8f7b681f7f
commit
d48ce7da53
@ -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…
Reference in New Issue
Block a user