IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1827


Ignore:
Timestamp:
Sep 17, 2004, 1:57:41 PM (22 years ago)
Author:
evanalst
Message:

Updated the calculation of pixel center to use float types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImageManip.c

    r1652 r1827  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-08-28 01:18:04 $
     12 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-09-17 23:57:41 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    725725        int numRows = in->numRows;
    726726        int numCols = in->numCols;
    727         double centerX = (float)(numCols) / 2.0f;
     727        float centerX = (float)(numCols) / 2.0f;
    728728        float centerY = (float)(numRows) / 2.0f;
    729729        float t = angle * (3.14159265358f / 180.0f);
Note: See TracChangeset for help on using the changeset viewer.