Function nalgebra_glm::modf_vec

source ·
pub fn modf_vec<N: Number, D: Dimension>(
    x: &TVec<N, D>,
    y: &TVec<N, D>
) -> TVec<N, D>where
    DefaultAllocator: Alloc<N, 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: