home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Madness / VRMAD96_ONE.ISO / virtek / libex / libex058.c < prev    next >
C/C++ Source or Header  |  1995-08-24  |  427b  |  19 lines

  1.                                           // Example: 058 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. short  ShapeHandle;
  5. char   far buffer[16];
  6. void  main(void)
  7. {
  8.   dddInitAll();
  9.   ShapeHandle = dddShapeLoad("EXAMPLE.3D");
  10.   dddStrCpy(buffer, dddGetShapePaletteName(ShapeHandle));
  11.   dddRestoreAll();
  12.   printf("\nThe palette used in the example.3d file is %s\n",buffer);
  13. }
  14.  
  15.  
  16.  
  17.  
  18.  
  19.