[]Function rusty_engine::prelude::glm::modf_vec

pub fn modf_vec<N, D>(
    x: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>,
    y: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer> where
    D: Dimension,
    N: Number,
    DefaultAllocator: Alloc<N, D, U1>, 

Component-wise modulus.

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

See also: