diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-28 23:04:46 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-28 23:04:46 (GMT) |
| commit | 966f1dcc235d65943d14e2a99058de709a15659a (patch) | |
| tree | 443e006634ed5f5065661b9257ecdc9ad0d8e6ef /src/simulation/elements/SWCH.cpp | |
| parent | 167740e83926c233b108ada9ca770f6adaf312dd (diff) | |
| download | powder-966f1dcc235d65943d14e2a99058de709a15659a.zip powder-966f1dcc235d65943d14e2a99058de709a15659a.tar.gz | |
Use atan2 for LIGH angle calculations
atan2 gives the actual angle (in the range -pi to pi). acos and asin just
give the principal value (in the range 0 to pi, or -pi/2 to pi/2)
Diffstat (limited to 'src/simulation/elements/SWCH.cpp')
0 files changed, 0 insertions, 0 deletions
