Changeset 13076 for trunk/psLib/src/math/psEllipse.c
- Timestamp:
- Apr 27, 2007, 3:31:42 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psEllipse.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psEllipse.c
r13063 r13076 35 35 pol.e0 = r*(PS_SQR(shape.sx) + PS_SQR(shape.sy)); 36 36 pol.e1 = r*(PS_SQR(shape.sx) - PS_SQR(shape.sy)); 37 pol.e2 = r*(2.0*PS_SQR(shape.sx)*PS_SQR(shape.sy)*shape.sxy); 37 // XXX I do not understand this negative sign 38 pol.e2 = -r*(2.0*PS_SQR(shape.sx)*PS_SQR(shape.sy)*shape.sxy); 38 39 39 40 assert (isfinite(pol.e0));
Note:
See TracChangeset
for help on using the changeset viewer.
