Changeset 1475 for trunk/psLib/src/astro/psCoord.c
- Timestamp:
- Aug 11, 2004, 10:07:44 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psCoord.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r1463 r1475 11 11 * @author George Gusciora, MHPCC 12 12 * 13 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-08-1 0 23:59:41$13 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-08-11 20:07:44 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 39 39 } 40 40 out->x = transform->x->coeff[0][0] + 41 (transform->x->coeff[1][0] * coords->x) + (transform->x->coeff[0][1] * coords->y); 41 (transform->x->coeff[1][0] * coords->x) + 42 (transform->x->coeff[0][1] * coords->y); 42 43 43 44 out->y = transform->y->coeff[0][0] + 44 (transform->y->coeff[1][0] * coords->x) + (transform->y->coeff[0][1] * coords->y); 45 (transform->y->coeff[1][0] * coords->x) + 46 (transform->y->coeff[0][1] * coords->y); 45 47 46 48 return (out); … … 48 50 49 51 // This transformation takes into account parameters beyond an objects 50 // spatial coordinates: term3 and term4 .52 // spatial coordinates: term3 and term4 (magnitude and color). 51 53 psPlane* psPlaneDistortApply(psPlane* out, 52 54 const psPlaneDistort* transform,
Note:
See TracChangeset
for help on using the changeset viewer.
