Changeset 2212 for trunk/psLib/src/astro/psCoord.c
- Timestamp:
- Oct 27, 2004, 10:07:17 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psCoord.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r2206 r2212 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-10-27 01:15:47 $12 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-27 20:07:17 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 81 81 const psPlane* coords) 82 82 { 83 PS_ CHECK_NULL_PTR(transform, NULL);84 PS_ CHECK_NULL_PTR(coords, NULL);83 PS_PTR_CHECK_NULL(transform, NULL); 84 PS_PTR_CHECK_NULL(coords, NULL); 85 85 if (out == NULL) { 86 86 out = (psPlane* ) psAlloc(sizeof(psPlane)); … … 117 117 float magnitude) 118 118 { 119 PS_ CHECK_NULL_PTR(transform, NULL);120 PS_ CHECK_NULL_PTR(coords, NULL);119 PS_PTR_CHECK_NULL(transform, NULL); 120 PS_PTR_CHECK_NULL(coords, NULL); 121 121 if (out == NULL) { 122 122 out = (psPlane* ) psAlloc(sizeof(psPlane)); … … 156 156 const psSphere* coord) 157 157 { 158 PS_ CHECK_NULL_PTR(transform, NULL);159 PS_ CHECK_NULL_PTR(coord, NULL);158 PS_PTR_CHECK_NULL(transform, NULL); 159 PS_PTR_CHECK_NULL(coord, NULL); 160 160 double sinY = 0.0; 161 161 double cosY = 0.0; … … 228 228 const psProjection* projection) 229 229 { 230 PS_ CHECK_NULL_PTR(coord, NULL);231 PS_ CHECK_NULL_PTR(projection, NULL);230 PS_PTR_CHECK_NULL(coord, NULL); 231 PS_PTR_CHECK_NULL(projection, NULL); 232 232 233 233 float R = 0.0; … … 280 280 const psProjection* projection) 281 281 { 282 PS_ CHECK_NULL_PTR(coord, NULL);283 PS_ CHECK_NULL_PTR(projection, NULL);282 PS_PTR_CHECK_NULL(coord, NULL); 283 PS_PTR_CHECK_NULL(projection, NULL); 284 284 285 285 float R = 0.0; … … 348 348 psSphereOffsetUnit unit) 349 349 { 350 PS_ CHECK_NULL_PTR(position1, NULL);351 PS_ CHECK_NULL_PTR(position2, NULL);350 PS_PTR_CHECK_NULL(position1, NULL); 351 PS_PTR_CHECK_NULL(position2, NULL); 352 352 353 353 psPlane* lin; … … 416 416 psSphereOffsetUnit unit) 417 417 { 418 PS_ CHECK_NULL_PTR(position, NULL);419 PS_ CHECK_NULL_PTR(offset, NULL);418 PS_PTR_CHECK_NULL(position, NULL); 419 PS_PTR_CHECK_NULL(offset, NULL); 420 420 421 421 psPlane lin;
Note:
See TracChangeset
for help on using the changeset viewer.
