ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdriver.h
(Generate patch)

Comparing ray/src/hd/rhdriver.h (file contents):
Revision 3.6 by gregl, Mon Dec 8 18:51:15 1997 UTC vs.
Revision 3.7 by gregl, Thu Dec 11 09:34:51 1997 UTC

# Line 23 | Line 23 | extern struct driver {
23   #define DEV_RESUME      020     /* resume after pause */
24   #define DEV_REDRAW      040     /* redraw from server */
25   #define DEV_PUTVIEW     0100    /* print out current view */
26 + #define DEV_LASTVIEW    0200    /* restore previous view */
27  
28  
29   /************************************************************************
# Line 38 | Line 39 | The view type, horizontal and vertical view angles and
39   parameters in odev.v should also be assigned.
40  
41  
42 < void
42 > int
43   dev_view(nv)            : set display view parameters
44   VIEW    *nv;            : the new view
45  
46   Updates the display for the given view change.
47   Look for nv==&odev.v when making view current after dev_input()
48 < returns DEV_NEWVIEW flag.
48 > returns DEV_NEWVIEW flag.  Return 1 on success, or 0 if the
49 > new view would conflict with device requirements.  In the latter
50 > case, reset parameters in nv to make it more agreeable, calling
51 > error(COMMAND, "appropriate user warning").
52  
53  
54   void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines