Changeset 32347 for trunk/psModules/src/objects/pmModelUtils.c
- Timestamp:
- Sep 6, 2011, 1:02:53 PM (15 years ago)
- Location:
- trunk/psModules/src/objects
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pmModelUtils.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects
- Property svn:ignore
-
old new 5 5 *.la 6 6 *.lo 7 pmSourceIO_CMF_PS1_V1.c 8 pmSourceIO_CMF_PS1_V2.c 9 pmSourceIO_CMF_PS1_V3.c
-
- Property svn:ignore
-
trunk/psModules/src/objects/pmModelUtils.c
r31153 r32347 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.
