home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / NEWS / RADIANCE / SRC / COMMON / INSTANCE.H < prev    next >
C/C++ Source or Header  |  1993-10-07  |  715b  |  29 lines

  1. /* Copyright (c) 1990 Regents of the University of California */
  2.  
  3. /* SCCSid "@(#)instance.h 2.2 8/6/92 LBL" */
  4.  
  5. /*
  6.  *  instance.h - header file for routines using octree objects.
  7.  *
  8.  *    11/10/88
  9.  */
  10.  
  11. #include  "octree.h"
  12.  
  13. typedef struct scene {
  14.     char  *name;            /* octree name */
  15.     int  ldflags;            /* what was loaded */
  16.     CUBE  scube;            /* scene cube */
  17.     OBJECT  firstobj, nobjs;    /* first object and count */
  18.     struct scene  *next;        /* next in list */
  19. }  SCENE;            /* loaded octree */
  20.  
  21. typedef struct {
  22.     FULLXF  x;            /* forward and backward transforms */
  23.     SCENE  *obj;            /* loaded object */
  24. }  INSTANCE;            /* instance of octree */
  25.  
  26. extern SCENE  *getscene();
  27.  
  28. extern INSTANCE  *getinstance();
  29.