Function nalgebra_glm::modf_vec [−][src]
pub fn modf_vec<N: Number, D: Dimension>(
x: &TVec<N, D>,
y: &TVec<N, D>
) -> TVec<N, D> where
DefaultAllocator: Alloc<N, D>,
Component-wise modulus.
Returns x - y * floor(x / y)
for each component in x
using the corresponding component of y
.