/** A translation matrix */ public static Mat4f translation(ConstVec3f v) { return translation(v.x(), v.y(), v.z()); }
/** A scale matrix */ public static Mat4f scale(ConstVec3f v) { return scale(v.x(), v.y(), v.z()); }
/** A rotation matrix around the u-axis with length 1. */ public static Mat4f rotation(ConstVec3f u, double radians) { return rotation(u.x(), u.y(), u.z(), radians); }