aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2021-01-11 09:27:25 -0800
committerGravatar Antonio Sanchez <cantonios@google.com>2021-01-11 10:13:38 -0800
commit3daf92c7a5e8288d47839e47a461b8d249d206f1 (patch)
tree9e4d495f68eac302ef26c5781d6a3cb9aa829d0c /blas
parent587fd6ab707b0743f48593e401eb546d709eca4d (diff)
Transform::computeScalingRotation flush determinant to +/- 1.
In the previous code, in attempting to correct for a negative determinant, we end up multiplying and dividing by a number that is often very near, but not exactly +/-1. By flushing to +/-1, we can replace a division with a multiplication, and results are more numerically consistent.
Diffstat (limited to 'blas')
0 files changed, 0 insertions, 0 deletions