Skip to content

Conversation

@orange-cpp
Copy link
Owner

Adds std::formatter specializations for Mat, Vector2, Vector3, and Vector4 types, enabling the use of std::format for these types.

This simplifies formatting and printing of these mathematical objects, improving code readability and consistency.

Also adds a hash function specialization for Vector3.

Adds `std::formatter` specializations for `Mat`, `Vector2`, `Vector3`, and `Vector4` types, enabling the use of `std::format` for these types.

This simplifies formatting and printing of these mathematical objects, improving code readability and consistency.

Also adds a hash function specialization for Vector3.
Adds formatters for `omath::Angle` and `omath::Color` to allow for easy formatting using `std::format`.

This allows users to easily output Angle and Color values in a human-readable format.
@orange-cpp orange-cpp merged commit a097c0a into main Aug 26, 2025
3 checks passed
@orange-cpp orange-cpp deleted the feature/added_formatters branch August 26, 2025 09:47
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.

2 participants