Function rin::math::add_translation [−][src]
pub fn add_translation<T>(
mat: &Matrix<T, U4, U4, <DefaultAllocator as Allocator<T, U4, U4>>::Buffer>,
t: &Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer>
) -> Matrix<T, U4, U4, <DefaultAllocator as Allocator<T, U4, U4>>::Buffer> where
T: RealField + BaseNum,
Adds a 3d translation to a Mat4