Skip to content

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Aug 18, 2025

A variation of the above PR which integrates the changes discussed in the core meeting: semantic constants only! As such, this excludes self-explanatory constants (ZERO, ONE, etc). Opted for a separate PR in case we want to revisit the more broad approach, without compromising the narrower scope which was already given a thumbs-up

@Repiteo Repiteo added this to the 4.x milestone Aug 18, 2025
@Repiteo Repiteo requested review from a team as code owners August 18, 2025 17:13
@Repiteo Repiteo removed request for a team August 18, 2025 17:13
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me.

I agree this makes sense to make those constants somewhat closer to the Godot API in feel.

@Repiteo Repiteo modified the milestones: 4.x, 4.6 Aug 19, 2025
- Excludes self-explanatory constants (ZERO, ONE, etc)
Copy link
Member

@aaronfranke aaronfranke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am in favor of this (or I should say, at least this), and the code looks good to me.

@Repiteo Repiteo merged commit c39edec into godotengine:master Sep 16, 2025
20 checks passed
@Repiteo Repiteo deleted the core/math-constants-semantic branch September 16, 2025 16:57
ProfessorOctopus pushed a commit to ProfessorOctopus/godot that referenced this pull request Sep 17, 2025
…s-semantic

Core: Integrate semantic constants in math structs
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.

4 participants