Fix incorrect name of Basis global scale getter

This commit is contained in:
Aaron Franke
2024-04-16 04:26:52 -07:00
parent 4728ff30c0
commit e83807ef85
3 changed files with 5 additions and 5 deletions

View File

@ -293,7 +293,7 @@ Vector3 Basis::get_scale_abs() const {
Vector3(rows[0][2], rows[1][2], rows[2][2]).length());
}
Vector3 Basis::get_scale_local() const {
Vector3 Basis::get_scale_global() const {
real_t det_sign = SIGN(determinant());
return det_sign * Vector3(rows[0].length(), rows[1].length(), rows[2].length());
}