Inline colour conversion syntax #94
Labels
difficulty: easy
difficulty: medium
enhancement
New feature or request
good first issue
Good for newcomers
hack event
syntax sugar
It would be really handy if you could write
hex"FF0000"
and you automagically gotvec3(1.0f, 0.0f, 0.0f)
for no work. Same for something that converted from integer RGB values (i.e. 0-255)The use case is that copying colour values out of design tools is a faff at the moment.
The text was updated successfully, but these errors were encountered: