home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / RIBMotionEnd.m < prev    next >
Encoding:
Text File  |  1995-03-22  |  564 b   |  33 lines

  1. // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
  2. // see COPYRIGHT for reuse legalities
  3. //
  4.  
  5.  
  6. #import "RIBMotionEnd.h"
  7.  
  8. @implementation RIBMotionEnd
  9.  
  10. + initialize { return [RIBMotionEnd setVersion:1], self; }
  11.  
  12. - renderSelf:(WW3DCamera *)camera startingAt:(RtFloat)shutterOpenTime endingAt:(RtFloat)shutterCloseTime
  13. {
  14.   RiMotionEnd();
  15.  
  16.   return self;
  17. }
  18.  
  19.  
  20. - writeEve:(NXStream *)stream atTabLevel:(int)tab
  21. {
  22.    int  i;
  23.  
  24.  
  25.    for (i = 0; i < tab; i++)
  26.    {  NXPrintf(stream, "\t");
  27.    }
  28.    NXPrintf(stream, "MotionEnd;"); 
  29.    return self;
  30. }
  31.  
  32. @end
  33.