Skip to content

Sync math structs by adding constexpr constructors/operators - #2047

Open
marcozee03 wants to merge 2 commits into
godotengine:masterfrom
marcozee03:sync-godot-math-structs
Open

Sync math structs by adding constexpr constructors/operators#2047
marcozee03 wants to merge 2 commits into
godotengine:masterfrom
marcozee03:sync-godot-math-structs

Conversation

@marcozee03

@marcozee03 marcozee03 commented Aug 20, 2026

Copy link
Copy Markdown

closes #2046
Synced the math types like Vector* and Transform* with upstream

@marcozee03
marcozee03 requested a review from a team as a code owner August 20, 2026 05:35
@marcozee03

Copy link
Copy Markdown
Author

While syncing the files I removed the hash() function from classes implementing them. As including hashfuncs.h then caused errors. (from cyclic inclusion). Was/Is there a better way to go about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vector2/3 and other types not usable in constexpr functions

1 participant