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

SCM Repository

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

Diff of /branches/pure-cfg/test/vr-kcomp.diderot

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

revision 1021, Sun May 1 15:26:58 2011 UTC revision 1105, Wed May 4 21:00:49 2011 UTC
# Line 19  Line 19 
19  vec3 camN = normalize(camAt - camEye);  vec3 camN = normalize(camAt - camEye);
20  vec3 camU = normalize(camN × camUp);  vec3 camU = normalize(camN × camUp);
21  vec3 camV = camN × camU;  vec3 camV = camN × camU;
22  real camVmax = tan(camFOV*3.1415926536/360.0)*camDist;  real camVmax = tan(camFOV*π/360.0)*camDist;
23  real camUmax = camVmax*real(imgResU)/real(imgResV);  real camUmax = camVmax*real(imgResU)/real(imgResV);
24    
25  vec3 lightVspDir = [-1.0, -1.0, -3.5];  vec3 lightVspDir = [-1.0, -1.0, -3.5];

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

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