home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / graphicgems4.lha / GemsIV / nurb_polyg / FakeWindow.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-06  |  351 b   |  21 lines

  1. /* This is a fake version, used to test on other machines. */
  2.  
  3. extern void MakeWindow(void);
  4.  
  5. void MakeWindow()
  6. {}
  7.  
  8. extern void MoveTo( short, short );
  9. extern void LineTo( short, short );
  10.  
  11.  
  12.  
  13. void LineTo( short x, short y )
  14. {
  15.     printf("L %3d, %3d\n", (int) x, (int) y );
  16. }
  17. void MoveTo( short x, short y )
  18. {
  19.     printf("M %3d, %3d\n", (int) x, (int) y );
  20. }
  21.