Changeset 34403 for trunk/psModules/src/objects/pmSourceOutputs.c
- Timestamp:
- Sep 5, 2012, 4:16:36 PM (14 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmSourceOutputs.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120805/psModules (added) merged: 34367,34374-34376,34379,34381,34383,34396
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmSourceOutputs.c
r33690 r34403 32 32 #include "pmSourceExtendedPars.h" 33 33 #include "pmSourceDiffStats.h" 34 #include "pmSourceSatstar.h" 34 35 #include "pmSource.h" 35 36 #include "pmSourceFitModel.h" … … 226 227 *pltScale = 0.5*(pltScale_x + pltScale_y); 227 228 229 float crossProduct = dTPx_dCHx * dTPy_dCHy - dTPx_dCHy * dTPy_dCHx; 230 if (crossProduct > 0.) { 231 *pltScale *= -1.0; 232 } 233 228 234 float posAngle_x = atan2 (+dTPy_dCHx, +dTPx_dCHx); 229 235 float posAngle_y = atan2 (-dTPy_dCHy, +dTPx_dCHy);
Note:
See TracChangeset
for help on using the changeset viewer.
