private void turnAngle(int index, double change){
        switch(index){
            case 0: 
                this.angle[0]+=change;
                break;
            case 1:
                this.angle[1]+=change;
                break;
            case 2:
                this.angle[2]+=change;
        }
        
        // Keep the angle between -180 and 180
        if(this.angle[index]>Math.PI){
                this.angle[index]=-Math.PI;
            }
            
        if(this.angle[index]<-Math.PI){
                this.angle[index]=Math.PI;
            }
    }