Changeset 1520 for trunk/psLib/src/image/psImageManip.c
- Timestamp:
- Aug 12, 2004, 2:02:03 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageManip.c
r1508 r1520 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-08-1 2 03:05:48$13 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-08-13 00:02:03 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 705 705 // (x-centerX)*sinT; 706 706 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; 709 709 float minX = (float)outCols / -2.0f; 710 710 int intMinY = outRows / -2;
Note:
See TracChangeset
for help on using the changeset viewer.
