servo / euclid

Geometry primitives (basic linear algebra) for Rust
Other
462 stars 103 forks source link

Component-wise division for Vector2 #480

Closed alexkirsz closed 3 years ago

alexkirsz commented 3 years ago

Writing this as a follow-up to #475

I think it would make sense to also have component-wise division, as well as component-wise ceiling division for integer types.

See:

nical commented 3 years ago

Sounds good to me. If you want to make a quick PR I'll review it.

alexkirsz commented 3 years ago

@nical I created two PRs: #481 and #482