Changeset 7258c6a in buchla-68k for vlib/lseg.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlib/lseg.c
r0292fbb r7258c6a 7 7 */ 8 8 9 void (*point)( short x, short y, short pen);9 void (*point)(int16_t x, int16_t y, int16_t pen); 10 10 11 11 #define ABS(x) ((x) < 0 ? (-(x)) : (x)) … … 41 41 */ 42 42 43 void lseg( short x1, short y1, short x2, short y2, short t)43 void lseg(int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t t) 44 44 { 45 register short dx, dy, ptx, pty, p;46 short i, px, py;45 register int16_t dx, dy, ptx, pty, p; 46 int16_t i, px, py; 47 47 48 48 p = x2 - (ptx = x1);
Note:
See TracChangeset
for help on using the changeset viewer.