Changeset 5483 for trunk/psLib/test/astro/tst_psEarthOrientation.c
- Timestamp:
- Nov 7, 2005, 10:52:43 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tst_psEarthOrientation.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psEarthOrientation.c
r5466 r5483 5 5 * @author d-Rob, MHPCC 6 6 * 7 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-11-0 3 04:31:22$7 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-11-07 20:52:43 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 63 63 psSphere *empty = NULL; 64 64 65 actual->r = 0.2; 66 actual->d = 0.2; 67 direction->r = 0.2035; 68 direction->d = 0.2035; 65 // actual->r = 0.2; 66 // actual->d = 0.2; 67 actual->r = DEG_TO_RAD(45.0); 68 actual->d = DEG_TO_RAD(30.0); 69 // direction->r = 0.2035; 70 // direction->d = 0.2035; 71 direction->r = DEG_TO_RAD(48.0); 72 direction->d = DEG_TO_RAD(20.7072); 69 73 70 74 empty = psAberration(empty, apparent, direction, 0.1); … … 82 86 83 87 apparent = psAberration(apparent, actual, direction, 0.4); 84 printf("\napparent = r,d = %.8g, %.8g\n", apparent->r, apparent->d); 88 if (apparent == NULL) 89 printf("\nApparent is NULL\n"); 90 else 91 printf("\napparent = r,d = %.8g, %.8g\n", apparent->r, apparent->d); 85 92 86 93 psFree(apparent);
Note:
See TracChangeset
for help on using the changeset viewer.
