Changeset 32247
- Timestamp:
- Aug 31, 2011, 12:51:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/psModules/src/objects/pmModelUtils.c
r32244 r32247 123 123 124 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;125 float scale = (isfinite(moments->Mrf) && (moments->Mrf > 0.0)) ? moments->Mrf / axes.major : 1.0; 126 126 axes.major *= scale; 127 127 axes.minor *= scale;
Note:
See TracChangeset
for help on using the changeset viewer.
