IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2005, 4:36:42 PM (21 years ago)
Author:
desonia
Message:

prepared the config/data directories to be installed into standard areas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r2941 r3182  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-01-10 19:47:11 $
     8 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-02-10 02:36:41 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3737
    3838#define PS_COT(X) (1.0 / atan(X))
    39 #define DEG_TO_RAD(DEGREES) ((DEGREES) * M_PI / 180.0)
    40 #define MIN_TO_RAD(MINUTES) ((MINUTES) * M_PI / (180.0 * 60.0))
    41 #define SEC_TO_RAD(SECONDS) ((SECONDS) * M_PI / (180.0 * 60.0 * 60.0))
    42 #define RAD_TO_DEG(RADIANS) ((RADIANS) * 180.0 / M_PI)
    43 #define RAD_TO_MIN(RADIANS) ((RADIANS) * 180.0 * 60.0 / M_PI)
    44 #define RAD_TO_SEC(RADIANS) ((RADIANS) * 180.0 * 60.0 * 60.0 / M_PI)
     39#define DEG_TO_RAD(DEGREES) ((DEGREES) * PS_PI / 180.0)
     40#define MIN_TO_RAD(MINUTES) ((MINUTES) * PS_PI / (180.0 * 60.0))
     41#define SEC_TO_RAD(SECONDS) ((SECONDS) * PS_PI / (180.0 * 60.0 * 60.0))
     42#define RAD_TO_DEG(RADIANS) ((RADIANS) * 180.0 / PS_PI)
     43#define RAD_TO_MIN(RADIANS) ((RADIANS) * 180.0 * 60.0 / PS_PI)
     44#define RAD_TO_SEC(RADIANS) ((RADIANS) * 180.0 * 60.0 * 60.0 / PS_PI)
    4545
    4646/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.