public static void updateRotation(int delta) {
        //Mouse Input for looking around...
        if (Mouse.isGrabbed()) {
            float mouseDX = Mouse.getDX()*0.128f;
            float mouseDY = Mouse.getDY()*0.128f;
            
            if (rotation.getZ()+mouseDX>=360)
                rotation.setZ(rotation.getZ()+mouseDX-360);
            else if (rotation.getZ()+mouseDX<0)
                rotation.setZ(rotation.getZ()+mouseDX+360);
            else
                rotation.setZ(rotation.getZ()+mouseDX);
            
            if (rotation.getX()-mouseDY>=-89&&rotation.getX()-mouseDY<=89)
                rotation.setX(rotation.getX()-mouseDY);
            else if (rotation.getX()-mouseDY<-89)
                rotation.setX(-89);
            else if (rotation.getX()-mouseDY>89)
                rotation.setX(89);
        }
    }