translation

fun translation(vector: Vec3): Mat4

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