Fixed inconsistency in templated value
This commit is contained in:
parent
2d30a6e21a
commit
dd948d3cc2
@ -135,7 +135,7 @@ namespace glm
|
|||||||
|
|
||||||
// Compute XY shear factor and make 2nd row orthogonal to 1st.
|
// Compute XY shear factor and make 2nd row orthogonal to 1st.
|
||||||
Skew.z = dot(Row[0], Row[1]);
|
Skew.z = dot(Row[0], Row[1]);
|
||||||
Row[1] = combine(Row[1], Row[0], static_cast<T>(1.0), -Skew.z);
|
Row[1] = combine(Row[1], Row[0], static_cast<T>(1), -Skew.z);
|
||||||
|
|
||||||
// Now, compute Y scale and normalize 2nd row.
|
// Now, compute Y scale and normalize 2nd row.
|
||||||
Scale.y = length(Row[1]);
|
Scale.y = length(Row[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user