Changeset 3402 for trunk/Ohana/src/opihi/dvo/images.c
- Timestamp:
- Mar 9, 2005, 9:23:49 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/images.c
r3393 r3402 86 86 87 87 /* project this image to screen display coords */ 88 x[0] = 0; y[0] = 0; 89 x[1] = image[i].NX; y[1] = 0; 90 x[2] = image[i].NX; y[2] = image[i].NY; 91 x[3] = 0; y[3] = image[i].NY; 88 /* DIS images represent a field, not a chip */ 89 if (!strcmp(&image[i].coords.ctype[4], "-DIS")) { 90 x[0] = -0.5*image[i].NX; y[0] = -0.5*image[i].NY; 91 x[1] = +0.5*image[i].NX; y[1] = -0.5*image[i].NY; 92 x[2] = +0.5*image[i].NX; y[2] = +0.5*image[i].NY; 93 x[3] = -0.5*image[i].NX; y[3] = +0.5*image[i].NY; 94 } else { 95 x[0] = 0; y[0] = 0; 96 x[1] = image[i].NX; y[1] = 0; 97 x[2] = image[i].NX; y[2] = image[i].NY; 98 x[3] = 0; y[3] = image[i].NY; 99 } 92 100 status = FALSE; 93 101
Note:
See TracChangeset
for help on using the changeset viewer.
