Changeset 1520
- Timestamp:
- Aug 12, 2004, 2:02:03 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
Makefile.Globals (modified) (3 diffs)
-
image/psImageManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile.Globals
r1372 r1520 5 5 ## Assumptions: Variable "prefix" already defined 6 6 ## 7 ## $Revision: 1.1 3$ $Name: not supported by cvs2svn $8 ## $Date: 2004-08- 03 20:42:30$7 ## $Revision: 1.14 $ $Name: not supported by cvs2svn $ 8 ## $Date: 2004-08-13 00:02:03 $ 9 9 ## 10 10 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 42 42 # Set initial value for CFLAGS which will include all OS common flags for GCC 43 43 44 CFLAGS := -O0 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE - pipe44 CFLAGS := -O0 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -DFORTRAN_UNDERLINE_SUFFIX -pipe 45 45 46 46 ifdef NO_TRACE … … 50 50 # Set initial value for LDFLAGS which will include all OS common flags for GCC and required libraries. 51 51 52 EXTLIBS := -lcfitsio -lgsl -lgslcblas -lfftw3f 52 EXTLIBS := -lcfitsio -lgsl -lgslcblas -lfftw3f -lsla 53 53 LDFLAGS := -g2 -pipe $(EXTLIBS) 54 54 -
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.
