Function rin_math::add_translation[][src]

pub fn add_translation<T: RealField + BaseNum>(
    mat: &Mat4<T>,
    t: &Vec3<T>
) -> Mat4<T>

Adds a 3d translation to a Mat4