Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add range check for color components being within [0, 1]
this solves the potential undefined behaviour in implicit conversion if a color component should be greater than the maximum float but smaller than the maximum double and allows us to reuse strToDouble safely
- Loading branch information