public Matrix3f set(Quaternion quaternion) {
        return quaternion.toRotationMatrix(this);
    }
Configures as a rotation matrix equivalent to the argument.

@param quaternion the input quaternion (not null, unaffected)
@return the (modified) current instance (for chaining)
jme3-core/src/main/java/com/jme3/math/Matrix3f.java