/** * Sets the value of this quaternion using the rotational component of the * passed matrix. * * @param m * The matrix * @return this */ public final Quaternion setFromMatrix(Matrix4f m) { return setFromMatrix(m, this); }
/** * Sets the value of this quaternion using the rotational component of the * passed matrix. * * @param m * The source matrix */ public final Quaternion setFromMatrix(Matrix3f m) { return setFromMatrix(m, this); }