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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/diderot.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/diderot.h

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

revision 610, Sat Mar 12 06:44:51 2011 UTC revision 611, Sat Mar 12 07:10:21 2011 UTC
# Line 275  Line 275 
275    
276      union4f_t pos;      union4f_t pos;
277      pos.v = posArg;      pos.v = posArg;
278      return ((s <= pos.r[0]) && (pos.r[0] < (img->size[0] - s))      return ((s-1 < pos.r[0]) && (pos.r[0] < (img->size[0] - s))
279          &&  (s <= pos.r[1]) && (pos.r[1] < (img->size[1] - s))          &&  (s-1 < pos.r[1]) && (pos.r[1] < (img->size[1] - s))
280          &&  (s <= pos.r[2]) && (pos.r[2] < (img->size[2] - s)));          &&  (s-1 < pos.r[2]) && (pos.r[2] < (img->size[2] - s)));
281  }  }
282    
283  STATIC_INLINE vec3f_t Diderot_ToImageSpace3f (Diderot_image3D_t *img, vec3f_t posArg)  STATIC_INLINE vec3f_t Diderot_ToImageSpace3f (Diderot_image3D_t *img, vec3f_t posArg)

Legend:
Removed from v.610  
changed lines
  Added in v.611

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