translation

fun <T : Number, Comparable<T>> translation(vector: Vec3<T>): Mat4<T>

Creates a transformation matrix for a translation by a given vector.