Function nalgebra_glm::round[][src]

pub fn round<N: Real, D: Dimension>(x: &TVec<N, D>) -> TVec<N, D> where
    DefaultAllocator: Alloc<N, D>, 

Component-wise rounding.

Values equal to 0.5 are rounded away from 0.0.