| # | Line 88 | Line 88 | int main(int argc, char* argv[]){ | |
|---|---|---|
| 88 | ||
| 89 | r = sqrt(x*x + y*y + z*z); | |
| 90 | costheta = z/r; | |
| 91 | < | phi = atan(y/x); |
| 91 | > | phi = atan2(y,x); |
| 92 | ||
| 93 | sigmaShape = shape->getSigmaAt(costheta, phi); | |
| 94 | sShape = shape->getSAt(costheta, phi); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |