斜方向放宽到20度

This commit is contained in:
zhujunjie 2019-03-07 19:51:22 +08:00
parent e123aabdb4
commit f775862850

View File

@ -124,7 +124,7 @@ window.vm = {
this.onCtrlDire;
var i ;//= Math.round((t + 180) / 45) % 8;
var abst = Math.abs(t);
if((abst>=40&&abst<=50)||(abst>=130&&abst<=140)){
if((abst>=35&&abst<=55)||(abst>=125&&abst<=145)){
i = Math.round((t + 180) / 45) % 8;
}
else{