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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/mip-cam.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/mip-cam.diderot

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

revision 764, Thu Apr 7 20:11:04 2011 UTC revision 765, Thu Apr 7 20:24:10 2011 UTC
# Line 30  Line 30 
30  real camVspFar = camDist + camFar;  real camVspFar = camDist + camFar;
31  vec3 camN = (camAt - camEye)/camDist;  vec3 camN = (camAt - camEye)/camDist;
32  // HEY (want) camN × camUp;  // HEY (want) camN × camUp;
33  vec3 camTmpV = cross(camN,camUp);  vec3 camTmpV = camN × camUp;
34  // HEY (want) it would be nice if we could have initializing statements  // HEY (want) it would be nice if we could have initializing statements
35  // here; I had to create camTmpV to normalize the cross product, having  // here; I had to create camTmpV to normalize the cross product, having
36  // chosen not to use "cross(camN,camUp)/|cross(camN,camUp)|".  // chosen not to use "cross(camN,camUp)/|cross(camN,camUp)|".

Legend:
Removed from v.764  
changed lines
  Added in v.765

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