BoxDragon / kolor

Color space conversion math made simple
38 stars 7 forks source link

re-add glam under a feature, make rust-analyzer happier, and make matrices actually constants #7

Closed fu5ha closed 3 years ago

fu5ha commented 3 years ago

This re-adds glam under a feature flag (mostly because it is easier to in theory use with rust-gpu, but also just integrates better with colstodian 😅).

It also makes matrices actually constants instead of just arrays which get loaded and transposed when actually used.

Finally, it moves the raw source into a kolor folder, which seems to make rust-analyzer much happier than just having a src directory in the workspace root.

kabergstrom commented 3 years ago

Thanks for this! These are all changes I wanted to make already :)