Struct lox::algo::bounding::BoundingSphere
source · pub struct BoundingSphere<P: Pos3Like> {
pub center: P,
pub radius: P::Scalar,
}Expand description
A bounding sphere defined by a center and a radius.
Fields§
§center: P§radius: P::ScalarTrait Implementations§
source§impl<P: Clone + Pos3Like> Clone for BoundingSphere<P>where
P::Scalar: Clone,
impl<P: Clone + Pos3Like> Clone for BoundingSphere<P>where P::Scalar: Clone,
source§fn clone(&self) -> BoundingSphere<P>
fn clone(&self) -> BoundingSphere<P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more