Struct collision::Obb2 [] [src]

pub struct Obb2<S> {
    pub center: Point2<S>,
    pub axis: Vector2<S>,
    pub extents: Vector2<S>,
}

Fields

center: Point2<S> axis: Vector2<S> extents: Vector2<S>

Trait Implementations

impl<S: PartialEq> PartialEq for Obb2<S>
[src]

fn eq(&self, __arg_0: &Obb2<S>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Obb2<S>) -> bool

This method tests for !=.

impl<S: Clone> Clone for Obb2<S>
[src]

fn clone(&self) -> Obb2<S>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<S: Copy> Copy for Obb2<S>
[src]