- Timestamp:
- Sep 4, 2012, 6:01:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120805/psModules/src/objects/pmSourceOutputs.c
r34376 r34381 227 227 *pltScale = 0.5*(pltScale_x + pltScale_y); 228 228 229 float crossProduct = dTPx_dCHx * dTPy_dCHy - dTPx_dCHy * dTPy_dCHx; 230 if (crossProduct > 0.) { 231 *pltScale *= -1.0; 232 } 233 229 234 float posAngle_x = atan2 (+dTPy_dCHx, +dTPx_dCHx); 230 235 float posAngle_y = atan2 (-dTPy_dCHy, +dTPx_dCHy);
Note:
See TracChangeset
for help on using the changeset viewer.
