[−][src]Struct rg3d_core::math::aabb::AxisAlignedBoundingBox
Fields
min: Vec3max: Vec3Implementations
impl AxisAlignedBoundingBox[src]
pub const UNIT: AxisAlignedBoundingBox[src]
pub const fn from_min_max(min: Vec3, max: Vec3) -> Self[src]
pub fn from_points(points: &[Vec3]) -> Self[src]
pub fn add_point(&mut self, a: Vec3)[src]
pub fn corners(&self) -> [Vec3; 8][src]
pub fn offset(&mut self, v: Vec3)[src]
pub fn center(&self) -> Vec3[src]
pub fn half_extents(&self) -> Vec3[src]
pub fn invalidate(&mut self)[src]
pub fn is_contains_point(&self, point: Vec3) -> bool[src]
pub fn is_intersects_sphere(&self, position: Vec3, radius: f32) -> bool[src]
pub fn intersect_aabb(&self, other: &Self) -> bool[src]
pub fn transform(&mut self, m: Mat4)[src]
Trait Implementations
impl Clone for AxisAlignedBoundingBox[src]
fn clone(&self) -> AxisAlignedBoundingBox[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for AxisAlignedBoundingBox[src]
impl Debug for AxisAlignedBoundingBox[src]
impl Default for AxisAlignedBoundingBox[src]
impl Visit for AxisAlignedBoundingBox[src]
fn visit(&mut self, name: &str, visitor: &mut Visitor) -> VisitResult[src]
Auto Trait Implementations
impl RefUnwindSafe for AxisAlignedBoundingBox
impl Send for AxisAlignedBoundingBox
impl Sync for AxisAlignedBoundingBox
impl Unpin for AxisAlignedBoundingBox
impl UnwindSafe for AxisAlignedBoundingBox
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Visit for T where
T: FieldData + 'static, [src]
T: FieldData + 'static,