Minor fixes to Vector4

This commit is contained in:
Aaron Franke
2022-09-04 20:16:59 -05:00
parent e7a0a97c0b
commit 058ac331b0
5 changed files with 25 additions and 10 deletions

View File

@@ -132,7 +132,7 @@ double Vector4i::length() const {
}
Vector4i Vector4i::abs() const {
return Vector4i(ABS(x), ABS(y), ABS(z), ABS(w));
return Vector4i(Math::abs(x), Math::abs(y), Math::abs(z), Math::abs(w));
}
Vector4i Vector4i::sign() const {