mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Fix abs call.
This commit is contained in:
parent
08160fd63f
commit
7ec207ba27
@ -264,7 +264,7 @@ Basis Basis::scaled_orthogonal(const Vector3 &p_scale) const {
|
||||
Basis b;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
dots[j] += s[i] * abs(m.get_column(i).normalized().dot(b.get_column(j)));
|
||||
dots[j] += s[i] * Math::abs(m.get_column(i).normalized().dot(b.get_column(j)));
|
||||
}
|
||||
}
|
||||
m.scale_local(Vector3(1, 1, 1) + dots);
|
||||
|
Loading…
Reference in New Issue
Block a user