Skip to content

Commit

Permalink
reverse toHSV template param order for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
Herringway committed Jul 4, 2021
1 parent 1746119 commit 700b2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/magicalrainbows/formats.d
Expand Up @@ -188,7 +188,7 @@ struct HSV(Precision) {
}
}

HSV!Precision toHSV(Format, Precision = double)(Format input) if (isColourFormat!Format) {
HSV!Precision toHSV(Precision = double, Format)(Format input) if (isColourFormat!Format) {
import std.algorithm.comparison : max, min;
import std.math : isClose;
HSV!Precision result;
Expand Down

0 comments on commit 700b2bd

Please sign in to comment.