Make sure the angle is in the correct range, required because the angle is divided. See #2547.
Make sure the angle is in the correct range, required because the angle is divided. See #2547.

nelsonsilva/libgdx,jasonwee/libgdx,Zonglin-Li6565/libgdx,Xhanim/libgdx,fiesensee/libgdx,tommycli/libgdx,saqsun/libgdx,jberberick/libgdx,kagehak/libgdx,Gliby/libgdx,fwolff/libgdx,xpenatan/libgdx-LWJGL3,jsjolund/libgdx,EsikAntony/libgdx,firefly2442/libgdx,GreenLightning/libgdx,alex-dorokhov/libgdx,ttencate/libgdx,thepullman/libgdx,Wisienkas/libgdx,Heart2009/libgdx,curtiszimmerman/libgdx,SidneyXu/libgdx,petugez/libgdx,sjosegarcia/libgdx,fwolff/libgdx,GreenLightning/libgdx,gf11speed/libgdx,flaiker/libgdx,1yvT0s/libgdx,xpenatan/libgdx-LWJGL3,codepoke/libgdx,MadcowD/libgdx,noelsison2/libgdx,tell10glu/libgdx,czyzby/libgdx,flaiker/libgdx,basherone/libgdxcn,noelsison2/libgdx,azakhary/libgdx,Heart2009/libgdx,mumer92/libgdx,KrisLee/libgdx,ya7lelkom/libgdx,nelsonsilva/libgdx,xpenatan/libgdx-LWJGL3,czyzby/libgdx,thepullman/libgdx,petugez/libgdx,azakhary/libgdx,ttencate/libgdx,flaiker/libgdx,curtiszimmerman/libgdx,js78/libgdx,codepoke/libgdx,FyiurAmron/libgdx,del-sol/libgdx,petugez/libgdx,shiweihappy/libgdx,ztv/libgdx,EsikAntony/libgdx,PedroRomanoBarbosa/libgdx,firefly2442/libgdx,Heart2009/libgdx,ya7lelkom/libgdx,bgroenks96/libgdx,youprofit/libgdx,FyiurAmron/libgdx,Badazdz/libgdx,UnluckyNinja/libgdx,libgdx/libgdx,hyvas/libgdx,davebaol/libgdx,toloudis/libgdx,djom20/libgdx,collinsmith/libgdx,alex-dorokhov/libgdx,revo09/libgdx,collinsmith/libgdx,zommuter/libgdx,Badazdz/libgdx,jberberick/libgdx,billgame/libgdx,tommyettinger/libgdx,KrisLee/libgdx,ricardorigodon/libgdx,MadcowD/libgdx,toloudis/libgdx,xranby/libgdx,GreenLightning/libgdx,kotcrab/libgdx,toa5/libgdx,srwonka/libGdx,srwonka/libGdx,nave966/libgdx,junkdog/libgdx,samskivert/libgdx,xranby/libgdx,ThiagoGarciaAlves/libgdx,EsikAntony/libgdx,309746069/libgdx,mumer92/libgdx,youprofit/libgdx,fwolff/libgdx,1yvT0s/libgdx,tommycli/libgdx,jsjolund/libgdx,billgame/libgdx,davebaol/libgdx,zhimaijoy/libgdx,nudelchef/libgdx,nooone/libgdx,Zomby2D/libgdx,gdos/libgdx,ttencate/libgdx,js78/libgdx,NathanSweet/libgdx,saqsun/libgdx,curtiszimmerman/libgdx,Thotep/libgdx,GreenLightning/libgdx,nudelchef/libgdx,nooone/libgdx,alex-dorokhov/libgdx,katiepino/libgdx,srwonka/libGdx,junkdog/libgdx,mumer92/libgdx,alex-dorokhov/libgdx,copystudy/libgdx,anserran/libgdx,KrisLee/libgdx,srwonka/libGdx,shiweihappy/libgdx,haedri/libgdx-1,tommyettinger/libgdx,jsjolund/libgdx,kotcrab/libgdx,katiepino/libgdx,ztv/libgdx,sarkanyi/libgdx,yangweigbh/libgdx,cypherdare/libgdx,josephknight/libgdx,ztv/libgdx,xoppa/libgdx,basherone/libgdxcn,UnluckyNinja/libgdx,saltares/libgdx,copystudy/libgdx,titovmaxim/libgdx,junkdog/libgdx,MovingBlocks/libgdx,stickyd/libgdx,FyiurAmron/libgdx,Zonglin-Li6565/libgdx,gf11speed/libgdx,andyvand/libgdx,haedri/libgdx-1,alex-dorokhov/libgdx,Badazdz/libgdx,SidneyXu/libgdx,zommuter/libgdx,JFixby/libgdx,junkdog/libgdx,Wisienkas/libgdx,Deftwun/libgdx,shiweihappy/libgdx,Dzamir/libgdx,KrisLee/libgdx,luischavez/libgdx,srwonka/libGdx,snovak/libgdx,collinsmith/libgdx,andyvand/libgdx,azakhary/libgdx,saqsun/libgdx,kagehak/libgdx,bsmr-java/libgdx,codepoke/libgdx,snovak/libgdx,FredGithub/libgdx,bgroenks96/libgdx,kagehak/libgdx,xranby/libgdx,stickyd/libgdx,fiesensee/libgdx,codepoke/libgdx,ricardorigodon/libgdx,nave966/libgdx,designcrumble/libgdx,KrisLee/libgdx,titovmaxim/libgdx,katiepino/libgdx,MikkelTAndersen/libgdx,UnluckyNinja/libgdx,kotcrab/libgdx,stinsonga/libgdx,youprofit/libgdx,1yvT0s/libgdx,gdos/libgdx,noelsison2/libgdx,fiesensee/libgdx,Badazdz/libgdx,Dzamir/libgdx,designcrumble/libgdx,1yvT0s/libgdx,gf11speed/libgdx,xranby/libgdx,ztv/libgdx,firefly2442/libgdx,TheAks999/libgdx,saqsun/libgdx,Wisienkas/libgdx,ricardorigodon/libgdx,ya7lelkom/libgdx,thepullman/libgdx,bsmr-java/libgdx,ricardorigodon/libgdx,stickyd/libgdx,collinsmith/libgdx,KrisLee/libgdx,sjosegarcia/libgdx,stickyd/libgdx,josephknight/libgdx,saltares/libgdx,nave966/libgdx,saltares/libgdx,titovmaxim/libgdx,BlueRiverInteractive/libgdx,MetSystem/libgdx,realitix/libgdx,FredGithub/libgdx,TheAks999/libgdx,billgame/libgdx,zhimaijoy/libgdx,noelsison2/libgdx,jasonwee/libgdx,xoppa/libgdx,Dzamir/libgdx,yangweigbh/libgdx,collinsmith/libgdx,TheAks999/libgdx,bgroenks96/libgdx,xpenatan/libgdx-LWJGL3,zommuter/libgdx,sjosegarcia/libgdx,noelsison2/libgdx,katiepino/libgdx,flaiker/libgdx,luischavez/libgdx,cypherdare/libgdx,designcrumble/libgdx,ya7lelkom/libgdx,stinsonga/libgdx,nelsonsilva/libgdx,firefly2442/libgdx,fiesensee/libgdx,bgroenks96/libgdx,josephknight/libgdx,zhimaijoy/libgdx,saqsun/libgdx,MikkelTAndersen/libgdx,SidneyXu/libgdx,codepoke/libgdx,snovak/libgdx,nave966/libgdx,andyvand/libgdx,js78/libgdx,gouessej/libgdx,GreenLightning/libgdx,petugez/libgdx,fwolff/libgdx,ztv/libgdx,samskivert/libgdx,zommuter/libgdx,billgame/libgdx,bsmr-java/libgdx,toloudis/libgdx,ya7lelkom/libgdx,MovingBlocks/libgdx,ninoalma/libgdx,andyvand/libgdx,Dzamir/libgdx,xpenatan/libgdx-LWJGL3,ninoalma/libgdx,309746069/libgdx,luischavez/libgdx,codepoke/libgdx,kotcrab/libgdx,saltares/libgdx,309746069/libgdx,snovak/libgdx,tell10glu/libgdx,ricardorigodon/libgdx,ya7lelkom/libgdx,azakhary/libgdx,stinsonga/libgdx,nave966/libgdx,Thotep/libgdx,gdos/libgdx,basherone/libgdxcn,petugez/libgdx,nrallakis/libgdx,tell10glu/libgdx,alireza-hosseini/libgdx,nave966/libgdx,gf11speed/libgdx,nave966/libgdx,kagehak/libgdx,Senth/libgdx,azakhary/libgdx,jberberick/libgdx,haedri/libgdx-1,Thotep/libgdx,xoppa/libgdx,gouessej/libgdx,thepullman/libgdx,revo09/libgdx,Thotep/libgdx,jberberick/libgdx,ttencate/libgdx,realitix/libgdx,designcrumble/libgdx,toloudis/libgdx,tell10glu/libgdx,bladecoder/libgdx,azakhary/libgdx,toloudis/libgdx,thepullman/libgdx,xoppa/libgdx,basherone/libgdxcn,jberberick/libgdx,fwolff/libgdx,antag99/libgdx,Badazdz/libgdx,billgame/libgdx,alireza-hosseini/libgdx,snovak/libgdx,Wisienkas/libgdx,anserran/libgdx,TheAks999/libgdx,nrallakis/libgdx,PedroRomanoBarbosa/libgdx,MadcowD/libgdx,copystudy/libgdx,cypherdare/libgdx,revo09/libgdx,JDReutt/libgdx,GreenLightning/libgdx,bladecoder/libgdx,ztv/libgdx,collinsmith/libgdx,realitix/libgdx,UnluckyNinja/libgdx,Xhanim/libgdx,Xhanim/libgdx,Deftwun/libgdx,tommyettinger/libgdx,czyzby/libgdx,davebaol/libgdx,bsmr-java/libgdx,MadcowD/libgdx,nudelchef/libgdx,Thotep/libgdx,curtiszimmerman/libgdx,copystudy/libgdx,ThiagoGarciaAlves/libgdx,MovingBlocks/libgdx,toa5/libgdx,MadcowD/libgdx,Thotep/libgdx,firefly2442/libgdx,bsmr-java/libgdx,nudelchef/libgdx,JDReutt/libgdx,nooone/libgdx,bladecoder/libgdx,toloudis/libgdx,luischavez/libgdx,djom20/libgdx,shiweihappy/libgdx,MetSystem/libgdx,djom20/libgdx,gdos/libgdx,nrallakis/libgdx,zhimaijoy/libgdx,Dzamir/libgdx,revo09/libgdx,bgroenks96/libgdx,MetSystem/libgdx,JFixby/libgdx,sjosegarcia/libgdx,antag99/libgdx,UnluckyNinja/libgdx,js78/libgdx,davebaol/libgdx,tommycli/libgdx,ninoalma/libgdx,Xhanim/libgdx,Heart2009/libgdx,PedroRomanoBarbosa/libgdx,toa5/libgdx,del-sol/libgdx,1yvT0s/libgdx,xpenatan/libgdx-LWJGL3,djom20/libgdx,djom20/libgdx,codepoke/libgdx,copystudy/libgdx,BlueRiverInteractive/libgdx,tommyettinger/libgdx,ThiagoGarciaAlves/libgdx,designcrumble/libgdx,thepullman/libgdx,xoppa/libgdx,realitix/libgdx,josephknight/libgdx,zommuter/libgdx,basherone/libgdxcn,ThiagoGarciaAlves/libgdx,tommycli/libgdx,Zomby2D/libgdx,FyiurAmron/libgdx,thepullman/libgdx,JFixby/libgdx,Dzamir/libgdx,bladecoder/libgdx,yangweigbh/libgdx,ninoalma/libgdx,saltares/libgdx,czyzby/libgdx,Zonglin-Li6565/libgdx,del-sol/libgdx,Heart2009/libgdx,bsmr-java/libgdx,titovmaxim/libgdx,firefly2442/libgdx,fwolff/libgdx,fwolff/libgdx,gouessej/libgdx,samskivert/libgdx,Wisienkas/libgdx,alireza-hosseini/libgdx,petugez/libgdx,billgame/libgdx,nooone/libgdx,saltares/libgdx,FredGithub/libgdx,srwonka/libGdx,tell10glu/libgdx,stickyd/libgdx,bgroenks96/libgdx,thepullman/libgdx,Dzamir/libgdx,noelsison2/libgdx,alireza-hosseini/libgdx,fiesensee/libgdx,junkdog/libgdx,xoppa/libgdx,TheAks999/libgdx,Dzamir/libgdx,kagehak/libgdx,MikkelTAndersen/libgdx,fwolff/libgdx,kagehak/libgdx,NathanSweet/libgdx,yangweigbh/libgdx,Deftwun/libgdx,josephknight/libgdx,UnluckyNinja/libgdx,alireza-hosseini/libgdx,junkdog/libgdx,nudelchef/libgdx,copystudy/libgdx,zhimaijoy/libgdx,yangweigbh/libgdx,curtiszimmerman/libgdx,luischavez/libgdx,katiepino/libgdx,Gliby/libgdx,ninoalma/libgdx,petugez/libgdx,nrallakis/libgdx,del-sol/libgdx,Zonglin-Li6565/libgdx,realitix/libgdx,haedri/libgdx-1,josephknight/libgdx,toloudis/libgdx,josephknight/libgdx,Badazdz/libgdx,firefly2442/libgdx,Zomby2D/libgdx,ztv/libgdx,alireza-hosseini/libgdx,309746069/libgdx,czyzby/libgdx,del-sol/libgdx,gouessej/libgdx,luischavez/libgdx,fiesensee/libgdx,kotcrab/libgdx,revo09/libgdx,alireza-hosseini/libgdx,saltares/libgdx,ttencate/libgdx,mumer92/libgdx,jasonwee/libgdx,PedroRomanoBarbosa/libgdx,Senth/libgdx,FredGithub/libgdx,Wisienkas/libgdx,JFixby/libgdx,curtiszimmerman/libgdx,MetSystem/libgdx,libgdx/libgdx,antag99/libgdx,FredGithub/libgdx,nrallakis/libgdx,JDReutt/libgdx,JDReutt/libgdx,nave966/libgdx,kotcrab/libgdx,jasonwee/libgdx,nrallakis/libgdx,Gliby/libgdx,libgdx/libgdx,nudelchef/libgdx,firefly2442/libgdx,Senth/libgdx,FyiurAmron/libgdx,sarkanyi/libgdx,antag99/libgdx,jsjolund/libgdx,JDReutt/libgdx,katiepino/libgdx,sarkanyi/libgdx,SidneyXu/libgdx,Xhanim/libgdx,jberberick/libgdx,xpenatan/libgdx-LWJGL3,MetSystem/libgdx,revo09/libgdx,PedroRomanoBarbosa/libgdx,bsmr-java/libgdx,hyvas/libgdx,MovingBlocks/libgdx,gouessej/libgdx,copystudy/libgdx,hyvas/libgdx,flaiker/libgdx,del-sol/libgdx,katiepino/libgdx,MovingBlocks/libgdx,js78/libgdx,antag99/libgdx,Senth/libgdx,toa5/libgdx,shiweihappy/libgdx,kotcrab/libgdx,xoppa/libgdx,titovmaxim/libgdx,gouessej/libgdx,hyvas/libgdx,JDReutt/libgdx,djom20/libgdx,josephknight/libgdx,js78/libgdx,luischavez/libgdx,ricardorigodon/libgdx,Deftwun/libgdx,srwonka/libGdx,Zomby2D/libgdx,gf11speed/libgdx,xranby/libgdx,MikkelTAndersen/libgdx,MovingBlocks/libgdx,Zomby2D/libgdx,MadcowD/libgdx,samskivert/libgdx,Badazdz/libgdx,yangweigbh/libgdx,SidneyXu/libgdx,cypherdare/libgdx,stinsonga/libgdx,1yvT0s/libgdx,Senth/libgdx,mumer92/libgdx,ThiagoGarciaAlves/libgdx,nudelchef/libgdx,fiesensee/libgdx,Thotep/libgdx,samskivert/libgdx,del-sol/libgdx,anserran/libgdx,realitix/libgdx,mumer92/libgdx,flaiker/libgdx,bgroenks96/libgdx,youprofit/libgdx,ricardorigodon/libgdx,Wisienkas/libgdx,sarkanyi/libgdx,revo09/libgdx,sjosegarcia/libgdx,anserran/libgdx,Heart2009/libgdx,alex-dorokhov/libgdx,FyiurAmron/libgdx,stickyd/libgdx,xpenatan/libgdx-LWJGL3,libgdx/libgdx,SidneyXu/libgdx,MadcowD/libgdx,sarkanyi/libgdx,Gliby/libgdx,Senth/libgdx,jsjolund/libgdx,MikkelTAndersen/libgdx,JFixby/libgdx,ztv/libgdx,designcrumble/libgdx,billgame/libgdx,andyvand/libgdx,xranby/libgdx,hyvas/libgdx,djom20/libgdx,youprofit/libgdx,FredGithub/libgdx,junkdog/libgdx,ThiagoGarciaAlves/libgdx,jasonwee/libgdx,anserran/libgdx,ThiagoGarciaAlves/libgdx,billgame/libgdx,antag99/libgdx,alireza-hosseini/libgdx,haedri/libgdx-1,gdos/libgdx,youprofit/libgdx,EsikAntony/libgdx,zhimaijoy/libgdx,realitix/libgdx,titovmaxim/libgdx,Badazdz/libgdx,yangweigbh/libgdx,jasonwee/libgdx,curtiszimmerman/libgdx,KrisLee/libgdx,tell10glu/libgdx,srwonka/libGdx,Senth/libgdx,snovak/libgdx,zhimaijoy/libgdx,hyvas/libgdx,MetSystem/libgdx,FredGithub/libgdx,jasonwee/libgdx,kotcrab/libgdx,gdos/libgdx,Senth/libgdx,bsmr-java/libgdx,gouessej/libgdx,davebaol/libgdx,toa5/libgdx,EsikAntony/libgdx,nrallakis/libgdx,flaiker/libgdx,FredGithub/libgdx,zommuter/libgdx,MovingBlocks/libgdx,JFixby/libgdx,FyiurAmron/libgdx,ninoalma/libgdx,JDReutt/libgdx,tommycli/libgdx,mumer92/libgdx,ttencate/libgdx,Deftwun/libgdx,zommuter/libgdx,BlueRiverInteractive/libgdx,sarkanyi/libgdx,samskivert/libgdx,czyzby/libgdx,snovak/libgdx,toloudis/libgdx,gf11speed/libgdx,xranby/libgdx,ttencate/libgdx,jberberick/libgdx,309746069/libgdx,sjosegarcia/libgdx,saltares/libgdx,Gliby/libgdx,Gliby/libgdx,gf11speed/libgdx,ricardorigodon/libgdx,309746069/libgdx,davebaol/libgdx,djom20/libgdx,EsikAntony/libgdx,jberberick/libgdx,SidneyXu/libgdx,antag99/libgdx,saqsun/libgdx,ttencate/libgdx,Gliby/libgdx,curtiszimmerman/libgdx,fiesensee/libgdx,saqsun/libgdx,BlueRiverInteractive/libgdx,Zonglin-Li6565/libgdx,youprofit/libgdx,anserran/libgdx,sarkanyi/libgdx,NathanSweet/libgdx,toa5/libgdx,snovak/libgdx,titovmaxim/libgdx,gdos/libgdx,shiweihappy/libgdx,designcrumble/libgdx,czyzby/libgdx,PedroRomanoBarbosa/libgdx,jsjolund/libgdx,stickyd/libgdx,tommycli/libgdx,andyvand/libgdx,UnluckyNinja/libgdx,xoppa/libgdx,nooone/libgdx,toa5/libgdx,MetSystem/libgdx,JFixby/libgdx,katiepino/libgdx,cypherdare/libgdx,Xhanim/libgdx,youprofit/libgdx,realitix/libgdx,Deftwun/libgdx,codepoke/libgdx,Zonglin-Li6565/libgdx,jsjolund/libgdx,TheAks999/libgdx,nelsonsilva/libgdx,tommyettinger/libgdx,copystudy/libgdx,haedri/libgdx-1,ThiagoGarciaAlves/libgdx,PedroRomanoBarbosa/libgdx,309746069/libgdx,junkdog/libgdx,mumer92/libgdx,stickyd/libgdx,EsikAntony/libgdx,js78/libgdx,TheAks999/libgdx,collinsmith/libgdx,alex-dorokhov/libgdx,gouessej/libgdx,Gliby/libgdx,nudelchef/libgdx,nelsonsilva/libgdx,ya7lelkom/libgdx,haedri/libgdx-1,andyvand/libgdx,1yvT0s/libgdx,czyzby/libgdx,GreenLightning/libgdx,Wisienkas/libgdx,sjosegarcia/libgdx,libgdx/libgdx,sjosegarcia/libgdx,gdos/libgdx,MikkelTAndersen/libgdx,del-sol/libgdx,andyvand/libgdx,petugez/libgdx,Xhanim/libgdx,designcrumble/libgdx,anserran/libgdx,EsikAntony/libgdx,alex-dorokhov/libgdx,MikkelTAndersen/libgdx,MikkelTAndersen/libgdx,BlueRiverInteractive/libgdx,1yvT0s/libgdx,Heart2009/libgdx,tommycli/libgdx,tell10glu/libgdx,anserran/libgdx,ninoalma/libgdx,309746069/libgdx,noelsison2/libgdx,jsjolund/libgdx,JDReutt/libgdx,GreenLightning/libgdx,saqsun/libgdx,sarkanyi/libgdx,yangweigbh/libgdx,ya7lelkom/libgdx,basherone/libgdxcn,BlueRiverInteractive/libgdx,noelsison2/libgdx,NathanSweet/libgdx,UnluckyNinja/libgdx,gf11speed/libgdx,toa5/libgdx,haedri/libgdx-1,nrallakis/libgdx,hyvas/libgdx,hyvas/libgdx,luischavez/libgdx,Thotep/libgdx,jasonwee/libgdx,js78/libgdx,Deftwun/libgdx,kagehak/libgdx,bgroenks96/libgdx,nooone/libgdx,PedroRomanoBarbosa/libgdx,kagehak/libgdx,antag99/libgdx,tommycli/libgdx,shiweihappy/libgdx,shiweihappy/libgdx,JFixby/libgdx,NathanSweet/libgdx,ninoalma/libgdx,titovmaxim/libgdx,flaiker/libgdx,Xhanim/libgdx,SidneyXu/libgdx,MadcowD/libgdx,Zonglin-Li6565/libgdx,zhimaijoy/libgdx,zommuter/libgdx,Deftwun/libgdx,TheAks999/libgdx,tell10glu/libgdx,FyiurAmron/libgdx,stinsonga/libgdx,Zonglin-Li6565/libgdx,Heart2009/libgdx,bladecoder/libgdx,MetSystem/libgdx,collinsmith/libgdx,xranby/libgdx,samskivert/libgdx,nelsonsilva/libgdx,samskivert/libgdx,KrisLee/libgdx,revo09/libgdx,BlueRiverInteractive/libgdx,MovingBlocks/libgdx,BlueRiverInteractive/libgdx