Changeset 1615 for trunk/psLib/src/astronomy/psCoord.c
- Timestamp:
- Aug 24, 2004, 3:38:48 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psCoord.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psCoord.c
r1532 r1615 3 3 * @brief Contains basic coordinate transformation definitions and operations 4 4 * 5 * This file defines the basic types for astronomical coordinate 5 * This file defines the basic types for astronomical coordinate 6 6 * transformation 7 7 * … … 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 19$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-08- 13 23:43:29$12 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-25 01:38:30 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 196 196 psSphereTransform* psSphereTransformICRStoEcliptic(psTime time) 197 197 { 198 struct tm *tmTime = psTimeToTM( time);198 struct tm *tmTime = psTimeToTM(&time); 199 199 double year = (double)(1900 + tmTime->tm_year); 200 200 double T = year / 100.0; … … 208 208 psSphereTransform* psSphereTransformEcliptictoICRS(psTime time) 209 209 { 210 struct tm *tmTime = psTimeToTM( time);210 struct tm *tmTime = psTimeToTM(&time); 211 211 double year = (double)(1900 + tmTime->tm_year); 212 212 double T = year / 100.0;
Note:
See TracChangeset
for help on using the changeset viewer.
