mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user