Struct cem::collider::Aabb
[−]
[src]
pub struct Aabb { pub lower: Point3<f32>, pub upper: Point3<f32>, }
An axis-aligned bounding box containing a lower corner and upper corner.
Fields
lower: Point3<f32>
upper: Point3<f32>
Methods
impl Aabb
[src]
Trait Implementations
impl Debug for Aabb
[src]
impl Copy for Aabb
[src]
impl Clone for Aabb
[src]
fn clone(&self) -> Aabb
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Aabb
[src]
fn eq(&self, __arg_0: &Aabb) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Aabb) -> bool
[src]
This method tests for !=
.
impl Encode for Aabb
[src]
fn read<R>(r: &mut R) -> Result<Self> where
R: Read,
[src]
R: Read,
fn write<W>(&self, w: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,