servo / euclid

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

Adds the `Box3D::from_origin_and_size` associated function. #520

Closed kyp44 closed 3 months ago

kyp44 commented 4 months ago

Just adds the from_origin_and_size associated function to Box3D, which did not exist for some reason. This is of course analogous to the Box2D version, which did already exist.