Changeset 18300 for trunk/psLib/src/imageops/psImageInterpolate.c
- Timestamp:
- Jun 23, 2008, 4:04:55 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageInterpolate.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageInterpolate.c
r18299 r18300 7 7 * @author Paul Price, IfA 8 8 * 9 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-06-24 02:0 3:02$9 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-06-24 02:04:55 $ 11 11 * 12 12 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 394 394 norm4 += values[i] = norm1 * sin(pos * norm2) * sin(pos * norm3) / PS_SQR(pos); 395 395 } 396 norm4 = 1.0 / norm4 396 norm4 = 1.0 / norm4; 397 397 for (int i = 0; i < num; i++) { 398 398 values[i] *= norm4;
Note:
See TracChangeset
for help on using the changeset viewer.
