We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ColliderDebugColor
Color
ColliderDebugColor now contains an Hsla, which means the user's colors now need to undergo conversion from
Hsla
(User's color space if not Hsla) -> Hsla-> Color (no color space conversion here) -> (deep in Bevy's gizmo renderer, LinearRgba)
LinearRgba
bevy_rapier also seems to convert from Hsla to [f32, 4] and back to Hsla for no discernible reason in object_color and e.g. draw_line.
bevy_rapier
[f32, 4]
object_color
draw_line
Given that the ultimate destination of these colors is Gizmos, and Gizmos want Color, I think we should just use Color.
Gizmos
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ColliderDebugColor
now contains anHsla
, which means the user's colors now need to undergo conversion from(User's color space if not
Hsla
) ->Hsla
->Color
(no color space conversion here) ->(deep in Bevy's gizmo renderer,
LinearRgba
)bevy_rapier
also seems to convert fromHsla
to[f32, 4]
and back toHsla
for no discernible reason inobject_color
and e.g.draw_line
.Given that the ultimate destination of these colors is
Gizmos
, andGizmos
wantColor
, I think we should just useColor
.The text was updated successfully, but these errors were encountered: