Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
This commit is contained in:
parent
c103f32ea3
commit
debeee56f7
98 changed files with 180 additions and 182 deletions
|
|
@ -229,7 +229,7 @@ Vector3 Basis::get_scale() const {
|
|||
// FIXME: We eventually need a proper polar decomposition.
|
||||
// As a cheap workaround until then, to ensure that R is a proper rotation matrix with determinant +1
|
||||
// (such that it can be represented by a Quat or Euler angles), we absorb the sign flip into the scaling matrix.
|
||||
// As such, it works in conjuction with get_rotation().
|
||||
// As such, it works in conjunction with get_rotation().
|
||||
real_t det_sign = determinant() > 0 ? 1 : -1;
|
||||
return det_sign * Vector3(
|
||||
Vector3(elements[0][0], elements[1][0], elements[2][0]).length(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue