private void calculateAngleAroundPlayer() { if (Mouse.isButtonDown(2)) { // R_BUTTON float angleChange = MouseHelper.getDX() * 0.3f; angleAroundPlayer -= angleChange; } }
private void calculatePitch() { if (Mouse.isButtonDown(2)) { // R_BUTTON float pitchChange = MouseHelper.getDY() * 0.1f; pitch -= pitchChange; } }