Changeset 2105 for trunk/psLib/src/image/psImage.c
- Timestamp:
- Oct 13, 2004, 3:22:59 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImage.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.c
r2067 r2105 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-10-1 3 00:10:50$12 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-14 01:22:59 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 441 441 psF64 unexposedValue) \ 442 442 { \ 443 int intX = (int) round((psF64)(x) - 0.5 ); \444 int intY = (int) round((psF64)(y) - 0.5 ); \443 int intX = (int) round((psF64)(x) - 0.5 + FLT_EPSILON); \ 444 int intY = (int) round((psF64)(y) - 0.5 + FLT_EPSILON); \ 445 445 int lastX = input->numCols - 1; \ 446 446 int lastY = input->numRows - 1; \
Note:
See TracChangeset
for help on using the changeset viewer.
