Révision c621f296
Ajouté par Jocelyn Delande il y a environ 11 ans
panorama.php | ||
---|---|---|
98 | 98 |
foreach ($params['reference'] as $nm => $val) { |
99 | 99 |
if (isset($ref_names[$nm])) { |
100 | 100 |
list($dist, $cap, $ele) = $ref_names[$nm]; |
101 |
list($px, $py) = explode(',', $val);
|
|
101 |
list($px, $py) = $val;
|
|
102 | 102 |
printf("ref_points[\"%s\"] = {x:%.5f, cap:%.5f, y:%.5f, ele:%.5f};\n", $nm, $px, $cap, $py, $ele); |
103 | 103 |
} |
104 | 104 |
} |
Formats disponibles : Unified diff
typo