Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Add color helper functions to dang-math. #27

@Possseidon

Description

@Possseidon

Add color helper functions to dang-math.

All in namespace dang::math::color.

Utility

  • clamp
  • gray
  • rainbow
  • color constants

Conversions

There are various representations that should be convertible to each other:

  • rgb (byte and floating point)
  • hsv (byte and floating point)
  • hex (std::uint32_t)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions