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

SCM Repository

[diderot] Diff of /trunk/test/MIP/mip_c.c
ViewVC logotype

Diff of /trunk/test/MIP/mip_c.c

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

revision 447, Thu Oct 21 04:24:00 2010 UTC revision 448, Thu Oct 21 15:23:02 2010 UTC
# Line 109  Line 109 
109    
110      Diderot_vec3_t dir = selfIn->dir;      Diderot_vec3_t dir = selfIn->dir;
111      Diderot_vec3_t pos = selfIn->pos;      Diderot_vec3_t pos = selfIn->pos;
112      pos = Diderot_AddV3(pos, Diderot_ScaleV3(glob->stepSz, dir));      pos = Diderot_AddV3(pos, Diderot_ScaleV3(glob->stepSz, dir.v));
113    
114      Diderot_Vec3_t imgPos = Diderot_TransformVec3 (pos, img->mInv);      Diderot_Vec3_t imgPos = Diderot_TransformVec3 (pos, img->mInv);
115      if (Diderot_Inside3D(imgPos, img)) {      if (Diderot_Inside3D(imgPos, img)) {
# Line 125  Line 125 
125      Diderot_real_t t = selfIn->t;      Diderot_real_t t = selfIn->t;
126      if (t > 20.0f) {      if (t > 20.0f) {
127          selfOut->pos = pos;          selfOut->pos = pos;
128          self->t = t;          selfOut->t = t;
129          RayCast_stabilize (glob, self);          RayCast_stabilize (glob, selfOut);
130          return;          return;
131      }      }
132    

Legend:
Removed from v.447  
changed lines
  Added in v.448

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