| xqd
@@ -119,7 +119,13 @@
|
|
|
this.rules.right.value = this.$util.acos(right)
|
|
|
this.rules.top.value = this.$util.acos(top)
|
|
|
|
|
|
-
|
|
|
+ /* if(this.rules.left.value > 90){
|
|
|
+ this.rules.left.value = Math.abs(180 - this.rules.left.value)
|
|
|
+ }else if(this.rules.right.value > 90){
|
|
|
+ this.rules.left.value = Math.abs(180 - this.rules.right.value)
|
|
|
+ }else if(this.rules.top.value > 90){
|
|
|
+ this.rules.left.value = Math.abs(180 - this.rules.top.value)
|
|
|
+ }*/
|
|
|
this.rules.left.value = this.rules.left.value > 90 ? Math.abs(180 - this.rules.left.value) : this.rules.left.value;
|
|
|
this.rules.left.value = this.rules.right.value > 90 ? Math.abs(180 - this.rules.right.value) : this.rules.left.value;
|
|
|
this.rules.left.value = this.rules.top.value > 90 ? Math.abs(180 - this.rules.top.value) : this.rules.left.value;
|