Struct rafx_visibility::VisibleBounds
source · pub struct VisibleBounds {
pub aabb: AxisAlignedBoundingBox,
pub obb: OrientedBoundingBox,
pub bounding_sphere: BoundingSphere,
pub hash: u64,
}
Fields§
§aabb: AxisAlignedBoundingBox
§obb: OrientedBoundingBox
§bounding_sphere: BoundingSphere
§hash: u64
Implementations§
source§impl VisibleBounds
impl VisibleBounds
pub fn from(mesh_data: PolygonSoup) -> Self
Trait Implementations§
source§impl Clone for VisibleBounds
impl Clone for VisibleBounds
source§fn clone(&self) -> VisibleBounds
fn clone(&self) -> VisibleBounds
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 Debug for VisibleBounds
impl Debug for VisibleBounds
source§impl Default for VisibleBounds
impl Default for VisibleBounds
source§fn default() -> VisibleBounds
fn default() -> VisibleBounds
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VisibleBounds
impl<'de> Deserialize<'de> for VisibleBounds
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for VisibleBounds
impl Serialize for VisibleBounds
impl Copy for VisibleBounds
Auto Trait Implementations§
impl RefUnwindSafe for VisibleBounds
impl Send for VisibleBounds
impl Sync for VisibleBounds
impl Unpin for VisibleBounds
impl UnwindSafe for VisibleBounds
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more