Changeset 3547 in project for gl-display-glx/gl-proj.scm


Ignore:
Timestamp:
03/20/07 17:16:22 (14 years ago)
Author:
thu
Message:

commit before removal of non gl-display files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gl-display-glx/gl-proj.scm

    r3343 r3547  
    4646  ; Q: is it normal that I have to use height-1 and -1, and not height and 0 ?
    4747  ; Maybe 0.375 as in blender ? I think there's a discussion about this in the red book
    48 ;    (gl:Ortho 0 w (- h 1) -1 -1 1)
    49     (gl:Ortho (- (/ w 2)) (/ w 2) (- (/ h 2)) (/ h 2) -4 4)
     48;    (gl:Ortho 0 w (- h 1) -1 -4 4) ; y goes up
     49    (gl:Ortho 0 w 0 h -4 4)         ; y goes down
     50;    (gl:Ortho (- (/ w 2)) (/ w 2) (- (/ h 2)) (/ h 2) -4 4) ; 0/0 at center
    5051;    (gl:Ortho *xmin* *xmax* *ymin* *ymax* -1 1)
    5152    (gl:MatrixMode gl:MODELVIEW)
Note: See TracChangeset for help on using the changeset viewer.