home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex027.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
638b
|
21 lines
// Example: 027 from Library Reference
#include "..\3D-Ware\dddware.h"
short count;
short main(void)
{
dddInitVideo();
dddSetPal(dddstandardpal);
dddInit3d();
for (count=0; count<200; count++)
{
dddDrawLine(count, 0, count, 319, count); // Draw to the first screen.
dddScreenSwap(); // Display this first screen.
dddDrawLine(count, 0, count, 319, count); // Draw to the second screen.
dddScreenSwap(); // Display this second screen.
}
dddRestoreVideo();
dddClose3d();
return 0;
}