Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/vr-curv-quad.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/vr-curv-quad.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1101, Wed May 4 20:52:56 2011 UTC revision 1105, Wed May 4 21:00:49 2011 UTC
# Line 34  Line 34 
34  vec3 camN = normalize(camAt - camEye);  vec3 camN = normalize(camAt - camEye);
35  vec3 camU = normalize(camN × camUp);  vec3 camU = normalize(camN × camUp);
36  vec3 camV = camN × camU;  vec3 camV = camN × camU;
37  real camVmax = tan(camFOV*3.1415926536/360.0)*camDist;  real camVmax = tan(camFOV*π/360.0)*camDist;
38  real camUmax = camVmax*real(imgResU)/real(imgResV);  real camUmax = camVmax*real(imgResU)/real(imgResV);
39  vec3 lightDir = normalize(lightVspDir[0]*camU +  vec3 lightDir = normalize(lightVspDir[0]*camU +
40                            lightVspDir[1]*camV +                            lightVspDir[1]*camV +

Legend:
Removed from v.1101  
changed lines
  Added in v.1105

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0