Skip to content

Cute::v2 math operator convention#502

Open
CMurtagh-LGTM wants to merge 1 commit intoRandyGaul:masterfrom
CMurtagh-LGTM:cmurtagh/math_operator_convention
Open

Cute::v2 math operator convention#502
CMurtagh-LGTM wants to merge 1 commit intoRandyGaul:masterfrom
CMurtagh-LGTM:cmurtagh/math_operator_convention

Conversation

@CMurtagh-LGTM
Copy link
Copy Markdown

@CMurtagh-LGTM CMurtagh-LGTM commented May 7, 2026

Hi, as I was using cute_framework I noticed that some of the Cute::v2 math operations don't follow the conventions, so I made this PR so cute_framework can better fit with expectations.

  • It is conventional for comparison operators to return bool.
  • It is conventional for assignment operators to only have the first parameter be assigned to.

@CMurtagh-LGTM CMurtagh-LGTM changed the title Vector2 math operator convention cf_v2 math operator convention May 7, 2026
@CMurtagh-LGTM CMurtagh-LGTM changed the title cf_v2 math operator convention Cute::v2 math operator convention May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant