Skip to content

Add convenient overrides for functions with static masks like vector_mix_xyxy #191

@nfrechette

Description

@nfrechette

See #189 for discussion.

The idea is to add various overrides for functions that take static arguments such as vector_mix<...> to streamline code readability. These should be generated through a python script to make it easier for IDEs to parse comments etc and allow for potentially directly inlining the implementation to make debugging easier.

We could have vector_mix_xyxy, vector_mix_wxyz, etc.

However, this requires a massive number of overrides which can significantly slow down compilation time. To avoid this, we should probably either make it optional in its own header (per function?) and/or make use of C++20 modules/header units. Modules seem like a good fit but bring their own challenges.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions