home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / PCGLOVE / GLOVE / OBJGLV.ZIP / INCLUDE / DEMO4B / SEGMENT.HPP < prev    next >
C/C++ Source or Header  |  1992-10-31  |  419b  |  13 lines

  1. typedef struct _segment SEGMENT;
  2.  
  3. struct _segment {
  4.     SEGMENT *parent, *child, *sibling;
  5.     MATRIX jmatrix;                   /* joint relationship */
  6.     MATRIX pmatrix;                   /* world position     */
  7.     OBJECT *object;
  8.     char *name;
  9.     unsigned flags;          /* if bit 0 set, segment has been modified */
  10.     unsigned fix_count;   /* used to fix scale after rel_rotate      */
  11. #define SEG_MODIFIED   1
  12. };
  13.