IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 12, 2004, 2:02:03 PM (22 years ago)
Author:
desonia
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1508 r1520  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-08-12 03:05:48 $
     13 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-08-13 00:02:03 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    705705        // (x-centerX)*sinT;
    706706
    707         int outCols = round(abs(numCols * cosT) + abs(numRows * sinT)) + 1;
    708         int outRows = round(abs(numCols * sinT) + abs(numRows * cosT)) + 1;
     707        int outCols = ceil(abs(numCols * cosT) + abs(numRows * sinT)) + 1;
     708        int outRows = ceil(abs(numCols * sinT) + abs(numRows * cosT)) + 1;
    709709        float minX = (float)outCols / -2.0f;
    710710        int intMinY = outRows / -2;
Note: See TracChangeset for help on using the changeset viewer.