You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Core: Use Math namespace for constants
This commit is contained in:
@@ -472,7 +472,7 @@ void Path3DGizmo::redraw() {
|
||||
|
||||
const int n = 36;
|
||||
for (int i = 0; i <= n; i++) {
|
||||
const float a = Math_TAU * i / n;
|
||||
const float a = Math::TAU * i / n;
|
||||
const Vector3 edge = sin(a) * side + cos(a) * up;
|
||||
disk.append(pos + edge * disk_size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user