Skip to content

Constify math types in bevy_math::rects #21906

@ickshonpe

Description

@ickshonpe

What problem does this solve or what need does it fill?

Tried to use a Rect method in a const function but couldn't. But should be able to.

What solution would you like?

I already completed Rect (#21905), so someone could copy those changes if they want to pick this up.
I'll finish this up eventually, if no one else wants to.

What alternative(s) have you considered?

Don't do it instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MathFundamental domain-agnostic mathematical operationsD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions