Implement div_euclid / rem_euclid for vec types #417
Closed
SpecificProtagonist
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Looks like this came up in #218, but only |
Beta Was this translation helpful? Give feedback.
3 replies
-
These have been added now. |
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
-
Rust's float and signed integer types implement euclidian division via the
div_euclid
/rem_euclid
methods, but this is missing from glam's vec types (in my case, I need it to divide an area into equally sized chunks).Edit: made a non-vectorized implementation in #419
Beta Was this translation helpful? Give feedback.
All reactions