Function nalgebra_glm::trunc [−][src]
pub fn trunc<N: Real, D: Dimension>(x: &TVec<N, D>) -> TVec<N, D> where
DefaultAllocator: Alloc<N, D>,
Returns a value equal to the nearest integer to x
whose absolute value is not larger than the absolute value of x
.