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/inline-vec2.h
ViewVC logotype

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

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

revision 755, Thu Apr 7 15:03:21 2011 UTC revision 756, Thu Apr 7 15:06:23 2011 UTC
# Line 53  Line 53 
53      return vec2f(s, s) * v;      return vec2f(s, s) * v;
54  }  }
55    
56    STATIC_INLINE vec2f_t lerp2f (vec2f_t a, vec2f_t b, float t)
57    {
58        return a + scale2f(t, b - a);
59    }
60    
61  STATIC_INLINE vec2f_t floor2f (vec2f_t v)  STATIC_INLINE vec2f_t floor2f (vec2f_t v)
62  {  {
63      union2f_t u;      union2f_t u;

Legend:
Removed from v.755  
changed lines
  Added in v.756

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