Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused navigation polygon properties #93485

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jun 22, 2024

Removes unused navigation polygon properties center and clockwise.

Both are leftover from the old Godot 3 days that used polygon center to polygon center distance for (rather inaccurate) pathfinding cost calculation and the clockwise property for the old string-pulling corridor funnel.

Very minor performance gain as this was not used by anything ever in Godot 4 but was calculated all the time for all the links and polygons.

Removes unused navigation polygon properties, a leftover from the old Godot 3 days that used polygon center to polygon center distance for (rather inaccurate) pathfinding cost calculation.
@akien-mga akien-mga modified the milestones: 4.x, 4.3 Jun 24, 2024
@akien-mga akien-mga merged commit d7855a0 into godotengine:master Jun 24, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@smix8 smix8 deleted the leftover_from_hangover branch June 25, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants