Function nalgebra_glm::modf_vec[][src]

pub fn modf_vec<T: Number, const D: usize>(
    x: &TVec<T, D>,
    y: &TVec<T, D>
) -> TVec<T, D>
Expand description

Component-wise modulus.

Returns x - y * floor(x / y) for each component in x using the corresponding component of y.

See also: