home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex058.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
427b
|
19 lines
// Example: 058 from Library Reference
#include "..\3D-Ware\dddware.h"
#include <stdio.h>
short ShapeHandle;
char far buffer[16];
void main(void)
{
dddInitAll();
ShapeHandle = dddShapeLoad("EXAMPLE.3D");
dddStrCpy(buffer, dddGetShapePaletteName(ShapeHandle));
dddRestoreAll();
printf("\nThe palette used in the example.3d file is %s\n",buffer);
}