Struct crayon::math::frustum::FrustumPoints
source · pub struct FrustumPoints<S: BaseFloat> {
pub near_top_left: Point3<S>,
pub near_top_right: Point3<S>,
pub near_bottom_left: Point3<S>,
pub near_bottom_right: Point3<S>,
pub far_top_left: Point3<S>,
pub far_top_right: Point3<S>,
pub far_bottom_left: Point3<S>,
pub far_bottom_right: Point3<S>,
}
Expand description
View frustum corner points
Fields§
§near_top_left: Point3<S>
Near top left point
near_top_right: Point3<S>
Near top right point
near_bottom_left: Point3<S>
Near bottom left point
near_bottom_right: Point3<S>
Near bottom right point
far_top_left: Point3<S>
Far top left point
far_top_right: Point3<S>
Far top right point
far_bottom_left: Point3<S>
Far bottom left point
far_bottom_right: Point3<S>
Far bottom right point
Implementations§
source§impl<S: BaseFloat> FrustumPoints<S>
impl<S: BaseFloat> FrustumPoints<S>
Trait Implementations§
source§impl<S: Clone + BaseFloat> Clone for FrustumPoints<S>
impl<S: Clone + BaseFloat> Clone for FrustumPoints<S>
source§fn clone(&self) -> FrustumPoints<S>
fn clone(&self) -> FrustumPoints<S>
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 moresource§impl<S: BaseFloat> Into<FrustumPoints<S>> for Frustum<S>
impl<S: BaseFloat> Into<FrustumPoints<S>> for Frustum<S>
source§fn into(self) -> FrustumPoints<S>
fn into(self) -> FrustumPoints<S>
Converts this type into the (usually inferred) input type.
source§impl<S: PartialEq + BaseFloat> PartialEq<FrustumPoints<S>> for FrustumPoints<S>
impl<S: PartialEq + BaseFloat> PartialEq<FrustumPoints<S>> for FrustumPoints<S>
source§fn eq(&self, other: &FrustumPoints<S>) -> bool
fn eq(&self, other: &FrustumPoints<S>) -> bool
impl<S: Copy + BaseFloat> Copy for FrustumPoints<S>
impl<S: BaseFloat> StructuralPartialEq for FrustumPoints<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for FrustumPoints<S>where
S: RefUnwindSafe,
impl<S> Send for FrustumPoints<S>where
S: Send,
impl<S> Sync for FrustumPoints<S>where
S: Sync,
impl<S> Unpin for FrustumPoints<S>where
S: Unpin,
impl<S> UnwindSafe for FrustumPoints<S>where
S: UnwindSafe,
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more