Struct cgmath::Sphere
[−]
[src]
pub struct Sphere<S> { pub center: Point3<S>, pub radius: S, }
Fields
center | |
radius |
pub struct Sphere<S> { pub center: Point3<S>, pub radius: S, }
center | |
radius |
impl<S: BaseFloat + 'static> Bound<S> for Sphere<S>
fn relate_plane(&self, plane: &Plane<S>) -> Relation
fn relate_clip_space(&self, projection: &Matrix4<S>) -> Relation
impl<S: Decodable> Decodable for Sphere<S>
impl<S: Encodable> Encodable for Sphere<S>
impl<S: PartialEq> PartialEq for Sphere<S>
impl<S: Clone> Clone for Sphere<S>
fn clone(&self) -> Sphere<S>
fn clone_from(&mut self, source: &Self)
impl<S: Copy> Copy for Sphere<S>