Skip to content
New issue

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

Impl std::ops for Size, Vector #1724 #1725

Closed
wants to merge 1 commit into from

Conversation

ArtHome12
Copy link

@ArtHome12 ArtHome12 commented Feb 22, 2023

I found that the mathematical operations on Size, Vector are only partially implemented and prepared changes to support +, -, *, /, %, as well as +=, -=, *=, /=, %=. The second operand can be either a scalar or Self.

@ArtHome12
Copy link
Author

This is an incomplete solution. It is better to replace the built-in types with similar ones from the geometric crate, for example, Euclid

@ArtHome12 ArtHome12 closed this Mar 5, 2023
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