servo / euclid

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

Add missing methods in Box2D/3D #484

Closed nical closed 3 years ago

nical commented 3 years ago

I'd like to transition webrender's code from using Rect to using Box2D which is more appropriate for the kind of operations we do. This PR adds some missing methods present in Rect but not Box2D to ease the transition.

jrmuizel commented 3 years ago

bors-servo: r+

emilio commented 3 years ago

@bors-servo r=jrmuizel

bors-servo commented 3 years ago

:pushpin: Commit 826a74a has been approved by jrmuizel

bors-servo commented 3 years ago

:hourglass: Testing commit 826a74ae9ebfda7161faf606a8257846ce4672e0 with merge 0af8085afbbb1919e7faf2410c675ec74396f946...

bors-servo commented 3 years ago

:sunny: Test successful - checks-travis Approved by: jrmuizel Pushing 0af8085afbbb1919e7faf2410c675ec74396f946 to master...