Changeset 7467 for trunk/psLib/src/math/psPolynomialUtils.c
- Timestamp:
- Jun 9, 2006, 3:26:25 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomialUtils.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomialUtils.c
r7380 r7467 124 124 { 125 125 PS_ASSERT_IMAGE_NON_NULL(image, NULL); 126 PS_ASSERT_INT_WITHIN_RANGE(x, 0, image->numCols - 1, NULL);127 PS_ASSERT_INT_WITHIN_RANGE(y, 0, image->numRows - 1, NULL);128 126 129 127 long ix = x - image->col0; 130 128 long iy = y - image->row0; 129 130 PS_ASSERT_INT_WITHIN_RANGE(ix, 1, image->numCols - 1, NULL); 131 PS_ASSERT_INT_WITHIN_RANGE(iy, 1, image->numRows - 1, NULL); 131 132 132 133 psF32 *Fm = &image->data.F32[iy - 1][ix];
Note:
See TracChangeset
for help on using the changeset viewer.
