Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
api/src/main/java/net/kyori/adventure/text/format/NamedTextColor.java Line 231:
final float hueDistance = 3 * Math.abs(self.h() - other.h());
Since hue is circular, should this not instead be the following?
final float hueDistance = 3 * Math.min(Math.abs(self.h() - other.h()), 1f-Math.abs(self.h() - other.h()));
Beta Was this translation helpful? Give feedback.
All reactions