@@ -24,9 +24,9 @@ |
||
24 | 24 | ->getData(); |
25 | 25 | |
26 | 26 | $this->coordinates = [ |
27 | - 'x' => rad2deg($result[0] * 2 * pi() - pi()), |
|
28 | - 'y' => rad2deg(pi()/2 - acos($result[1] * 2 - 1)), |
|
29 | - 'z' => $result[2] * 1000, |
|
27 | + 'x' => rad2deg($result[0]*2*pi() - pi()), |
|
28 | + 'y' => rad2deg(pi()/2 - acos($result[1]*2 - 1)), |
|
29 | + 'z' => $result[2]*1000, |
|
30 | 30 | ]; |
31 | 31 | |
32 | 32 | return $this; |