ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/view.h
(Generate patch)

Comparing libgender/view.h (file contents):
Revision 1.20 by root, Sun Oct 10 14:15:16 2004 UTC vs.
Revision 1.21 by root, Mon Oct 11 00:05:48 2004 UTC

36 point p; 36 point p;
37 vec3 d, u; 37 vec3 d, u;
38 GLfloat fov; 38 GLfloat fov;
39 GLfloat z_near, z_far, c_far; 39 GLfloat z_near, z_far, c_far;
40 int w, h; 40 int w, h;
41 GLfloat pixfact; // how many pixels on screen are drawn by a unit length line, *roughly*
41 42
42 GLfloat gamma; 43 GLfloat gamma;
43 44
44 // only to be used by friends: TODO 45 // only to be used by friends: TODO
45 46
46 GLfloat nz_far, nc_far; 47 GLfloat nz_far, nc_far;
47 GLfloat diagfact; // bounding box border to depth factor 48 GLfloat diagfact; // bounding box border to depth factor
49 GLfloat perspfact; // perspfact * (1/depth)=> pixels
48 50
49 matrix projection; 51 matrix projection;
50 52
51 struct { 53 struct {
52 plane l, r, t, b, n, f; 54 plane l, r, t, b, n, f;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines