Open rosaqq opened 3 years ago
5f565aca31f154 aftermath Since these quaternions only contain rotations in one axis, can we optimize?
public void moveRotation(Vector3f rotInc) { rotation.premul(new Quaternionf().rotationX(rotInc.x)); rotation.mul(new Quaternionf().rotationY(rotInc.y)); }
5f565aca31f154 aftermath Since these quaternions only contain rotations in one axis, can we optimize?