Skip to content

Conversation

@JordyAaldering
Copy link
Contributor

@JordyAaldering JordyAaldering commented Apr 8, 2025

There is a lot of functionality that needs to be rewritten time and time again for structs and other user-defined types, even though their implementation is the same as in ArrayBasics, albeit with a different type. Currently this is partially mitigated through the UDTtemplates macros. We can reduce code duplication and complexity by better generalising these functions. This is a first step towards that; extracting the logic of ArrayBasics to a macro file and starting to use it in Color8 and Quaternion.

@JordyAaldering JordyAaldering self-assigned this Apr 8, 2025
@JordyAaldering JordyAaldering changed the title Draft: Move shared arraybasics code to macro file Move shared arraybasics code to macro file Apr 29, 2025
@JordyAaldering JordyAaldering changed the title Move shared arraybasics code to macro file Move shared ArrayBasics code to macro file Apr 29, 2025
@JordyAaldering JordyAaldering merged commit 46269a6 into master Apr 29, 2025
3 checks passed
@JordyAaldering JordyAaldering deleted the array-basics-macros branch April 29, 2025 15:25
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.

3 participants