mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Rename built-in SGN() macro to SIGN()
This matches the name of the GDScript function (except it's uppercase here).
This commit is contained in:
@@ -217,7 +217,7 @@ Vector3 Vector3::abs() const {
|
||||
}
|
||||
|
||||
Vector3 Vector3::sign() const {
|
||||
return Vector3(SGN(x), SGN(y), SGN(z));
|
||||
return Vector3(SIGN(x), SIGN(y), SIGN(z));
|
||||
}
|
||||
|
||||
Vector3 Vector3::floor() const {
|
||||
|
||||
Reference in New Issue
Block a user