home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex030.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
563b
|
18 lines
// Example: 030 from Library Reference
#include "..\3D-Ware\dddware.h"
short Poly[]={6, 2,4,75,50,76,50,100,100,50,100}; // The style is style 6, palette color 2, and 4 pairs of
// points.
short col=0, x=0 ,y=0;
short main(void)
{
dddInitAll();
while (!dddkeycode)
{
dddCls();
dddDrawSpecialPoly(Poly); // Draw the patterned polygon.
dddScreenSwap();
}
dddRestoreAll();
return 0;
}