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:
parent
5045f46a5c
commit
8fb7e622a6
18 changed files with 34 additions and 34 deletions
|
|
@ -91,7 +91,7 @@ real_t Vector2::cross(const Vector2 &p_other) const {
|
|||
}
|
||||
|
||||
Vector2 Vector2::sign() const {
|
||||
return Vector2(SGN(x), SGN(y));
|
||||
return Vector2(SIGN(x), SIGN(y));
|
||||
}
|
||||
|
||||
Vector2 Vector2::floor() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue