mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Core: Use Math namespace for constants
This commit is contained in:
@@ -157,8 +157,8 @@ void CollisionPolygon2D::_notification(int p_what) {
|
||||
|
||||
Vector<Vector2> pts = {
|
||||
line_to + Vector2(0, tsize),
|
||||
line_to + Vector2(Math_SQRT12 * tsize, 0),
|
||||
line_to + Vector2(-Math_SQRT12 * tsize, 0)
|
||||
line_to + Vector2(Math::SQRT12 * tsize, 0),
|
||||
line_to + Vector2(-Math::SQRT12 * tsize, 0)
|
||||
};
|
||||
|
||||
Vector<Color> cols{ dcol, dcol, dcol };
|
||||
|
||||
Reference in New Issue
Block a user