Changeset 32244 for branches/eam_branches/ipp-20110710/psModules
- Timestamp:
- Aug 31, 2011, 12:47:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/psModules/src/objects/pmModelUtils.c
r31153 r32244 122 122 if (!isfinite(axes.theta)) return false; 123 123 124 // Mxx, Mxy, Myy define the elliptical shape, but Mrf defines the width 125 float scale = (isfinite(moments->Mrf) && (moments->Mrf > 0.0) ? moments->Mrf / axes.major : 1.0; 126 axes.major *= scale; 127 axes.minor *= scale; 128 124 129 psEllipseShape shape = psEllipseAxesToShape (axes); 125 130
Note:
See TracChangeset
for help on using the changeset viewer.
