public void input(){
    	if(Mouse.isGrabbed()){
        	pos.addXRot(-Mouse.getDY()*mouseSensivity);
        	pos.addYRot(Mouse.getDX()*mouseSensivity);
    	}
        if (Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)){
        	speed = 0.25f;
        }
        if (!Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)){
        	speed = 0.05f;
        }
        if (Keyboard.isKeyDown(Keyboard.KEY_W)){
        	pos.forward(speed);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_S)){
        	pos.backward(speed);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_A)){ 
        	pos.strafeL(speed);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_D)){ 
        	pos.strafeR(speed);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_Z)){  
        	pos.down(speed);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_Q)){  
        	pos.up(speed);
        }
}