Function aabb2::new_identity [] [src]

pub fn new_identity<T>() -> AABB2<T> where
    T: Copy + Num

Examples

use aabb2::{self, AABB2};
assert_eq!(&aabb2::new_identity::<u8>(), &AABB2{ min: [255, 255], max: [0, 0] });