public void update(int delta) {
		if(turning) {
			if(turnedAngle >= 90) {
				finalizeTurn();
				return;
			}
			float toTurn = delta * turningAngle;
			if(turnedAngle + toTurn > 90) {
				toTurn = 90 - turnedAngle;
			}
			for(Cubelet c : turningCubelets) {
				c.transformation = Matrix4f.mul(
						new Matrix4f().rotate((float) Math.toRadians(toTurn) * turningDirection, turningVector),
						c.transformation, null);
			}
			turnedAngle += toTurn;
		}
	}