/** * Creates and returns a new Quaternion that represnets this quaternion rotated by the given Axis * and Angle * * @param angle * @param x axis * @param y axis * @param z axis * @return rotated Quaternion */ public Quaternion rotate(float angle, float x, float y, float z) { return Quaternion.rotate(this, angle, x, y, z); }
/** * Creates and returns a new Quaternion that represnets this quaternion rotated by the given Axis * and Angle * * @param angle * @param axis * @return rotated Quaternion */ public Quaternion rotate(float angle, Vector3 axis) { return Quaternion.rotate(this, angle, axis); }