home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / voglw.zip / yobbarays.c < prev   
C/C++ Source or Header  |  1997-02-13  |  486b  |  31 lines

  1.  
  2.  
  3. struct    YOBBA    {
  4.         union {
  5.             struct {
  6.                 unsigned alpha : 1;
  7.                 unsigned beta  : 2;
  8.                 unsigned fixe  : 3;
  9.                 unsigned kralb  : 1;
  10.             } vals;
  11.             struct {
  12.                 unsigned char yobbav;
  13.             } yobbavals;
  14.         } yobba;
  15. } *yobbaray;
  16.  
  17. /*
  18.  * yobbarays
  19.  *
  20.  *    Turns on (or off) yobba rays, as described by Larry Dart's friend.
  21.  *
  22.  *    onoff <> 0 - YOBBARAYS ON.
  23.  *    onoff =  0 - YOBBARAYS OFF.
  24.  */
  25. void
  26. yobbarays(onoff)
  27.     int    onoff;
  28. {
  29.     yobbaray = (struct YOBBA *)onoff;
  30. }
  31.