servo / euclid

Geometry primitives (basic linear algebra) for Rust
Other
458 stars 102 forks source link

Add SideOffsets2D::from_vectors_inner and from_vectors_outer #414

Closed nical closed 4 years ago

nical commented 4 years ago

These create the inner/outer side offsets that correspond to translating the min and max corners of a rectangle with the provided vectors.

nical commented 4 years ago

r? @kvark

nical commented 4 years ago

@bors-servo r=kvark

bors-servo commented 4 years ago

:pushpin: Commit 8bf8525 has been approved by kvark

bors-servo commented 4 years ago

:hourglass: Testing commit 8bf852509c6b57ed4edfacf2dfab7138c523ac1f with merge 06a337959286ee18bb4297b926e32aaf0a039dbd...

bors-servo commented 4 years ago

:sunny: Test successful - checks-travis Approved by: kvark Pushing 06a337959286ee18bb4297b926e32aaf0a039dbd to master...