Changeset 4898 for trunk/psLib/src/astro/psSphereOps.c
- Timestamp:
- Aug 29, 2005, 3:14:13 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psSphereOps.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psSphereOps.c
r4708 r4898 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-08- 05 01:40:45$9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-08-30 01:14:10 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 33 33 #define JULIAN_CENTURY 36525.0 34 34 35 static void sphereRotFree(psSphereRot *result) 36 { 37 // There are non dynamic allocated items 38 } 35 39 36 40 psSphereRot* psSphereRotAlloc(double alphaP, … … 58 62 // calculate t*s*r. 59 63 psSphereRot* result = psSphereRotCombine(NULL,&t,&s); 64 psMemSetDeallocator(result, (psFreeFunc)sphereRotFree); 60 65 psSphereRotCombine(result,result,&r); 61 66 62 67 return result; 63 68 } 69 70 bool psMemCheckSphereRot(psPtr ptr) 71 { 72 return ( psMemGetDeallocator(ptr) == (psFreeFunc)sphereRotFree ); 73 } 74 64 75 65 76 psSphereRot* psSphereRotQuat(double q0,
Note:
See TracChangeset
for help on using the changeset viewer.
