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

Comparing ray/src/hd/rhd_ogl.c (file contents):
Revision 3.14 by gwlarson, Sun Jan 3 13:40:25 1999 UTC vs.
Revision 3.16 by gwlarson, Mon Mar 8 17:31:49 1999 UTC

# Line 22 | Line 22 | static char SCCSid[] = "$SunId$ SGI";
22  
23   #include "standard.h"
24  
25 #include <sys/types.h>
25   #include <GL/glx.h>
26   #include <GL/glu.h>
27   #ifdef STEREO
# Line 39 | Line 38 | static char SCCSid[] = "$SunId$ SGI";
38   #ifndef RAYQLEN
39   #define RAYQLEN         0               /* max. rays to queue before flush */
40   #endif
41 + #ifndef MINWIDTH
42 + #define MINWIDTH        480             /* minimum graphics window width */
43 + #define MINHEIGHT       400             /* minimum graphics window height */
44 + #endif
45 + #ifndef VIEWDIST
46 + #define VIEWDIST        356             /* assumed viewing distance (mm) */
47 + #endif
48 + #ifndef BORWIDTH
49 + #define BORWIDTH        5               /* border width */
50 + #endif
51  
52   #ifndef FEQ
53   #define FEQ(a,b)        ((a)-(b) <= FTINY && (a)-(b) >= -FTINY)
# Line 59 | Line 68 | static char SCCSid[] = "$SunId$ SGI";
68   #define MOVDIR(b)       ((b)==Button1 ? 1 : (b)==Button2 ? 0 : -1)
69   #define MOVDEG          (-5)            /* degrees to orbit CW/down /frame */
70   #define MOVORB(s)       ((s)&ShiftMask ? 1 : (s)&ControlMask ? -1 : 0)
62
63 #define MINWIDTH        480             /* minimum graphics window width */
64 #define MINHEIGHT       400             /* minimum graphics window height */
65
66 #define VIEWDIST        356             /* assumed viewing distance (mm) */
67
68 #define BORWIDTH        5               /* border width */
71  
72   #define setstereobuf(bid)       (glXWaitGL(), \
73                                  XSGISetStereoBuffer(ourdisplay, gwind, bid), \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines