servo / euclid

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

Add splat function for SideOffsets2D #515

Closed auberisky closed 7 months ago

auberisky commented 7 months ago

Hi :)

A splat function for SideOffsets2D could be useful when using Box2D's inner_box/outer_box to reduce/expand a box by the same amount on every side.

Thanks!

auberisky commented 7 months ago

Never mind, I overlooked new_all_same.