Changeset 2206 for trunk/psLib/src/astro/psCoord.c
- Timestamp:
- Oct 26, 2004, 3:15:47 PM (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
r2204 r2206 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-10-27 0 0:57:30$12 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-27 01:15:47 $ 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 _RETURN_NULL(transform);84 PS_CHECK_NULL_PTR _RETURN_NULL(coords);83 PS_CHECK_NULL_PTR(transform, NULL); 84 PS_CHECK_NULL_PTR(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 _RETURN_NULL(transform);120 PS_CHECK_NULL_PTR _RETURN_NULL(coords);119 PS_CHECK_NULL_PTR(transform, NULL); 120 PS_CHECK_NULL_PTR(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 _RETURN_NULL(transform);159 PS_CHECK_NULL_PTR _RETURN_NULL(coord);158 PS_CHECK_NULL_PTR(transform, NULL); 159 PS_CHECK_NULL_PTR(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 _RETURN_NULL(coord);231 PS_CHECK_NULL_PTR _RETURN_NULL(projection);230 PS_CHECK_NULL_PTR(coord, NULL); 231 PS_CHECK_NULL_PTR(projection, NULL); 232 232 233 233 float R = 0.0; … … 280 280 const psProjection* projection) 281 281 { 282 PS_CHECK_NULL_PTR _RETURN_NULL(coord);283 PS_CHECK_NULL_PTR _RETURN_NULL(projection);282 PS_CHECK_NULL_PTR(coord, NULL); 283 PS_CHECK_NULL_PTR(projection, NULL); 284 284 285 285 float R = 0.0; … … 348 348 psSphereOffsetUnit unit) 349 349 { 350 PS_CHECK_NULL_PTR _RETURN_NULL(position1);351 PS_CHECK_NULL_PTR _RETURN_NULL(position2);350 PS_CHECK_NULL_PTR(position1, NULL); 351 PS_CHECK_NULL_PTR(position2, NULL); 352 352 353 353 psPlane* lin; … … 416 416 psSphereOffsetUnit unit) 417 417 { 418 PS_CHECK_NULL_PTR _RETURN_NULL(position);419 PS_CHECK_NULL_PTR _RETURN_NULL(offset);418 PS_CHECK_NULL_PTR(position, NULL); 419 PS_CHECK_NULL_PTR(offset, NULL); 420 420 421 421 psPlane lin;
Note:
See TracChangeset
for help on using the changeset viewer.
