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

SCM Repository

[diderot] Diff of /branches/staging/src/include/Diderot/inline-vec6.h
ViewVC logotype

Diff of /branches/staging/src/include/Diderot/inline-vec6.h

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

revision 2634, Mon May 26 13:48:02 2014 UTC revision 2635, Mon May 26 14:06:39 2014 UTC
# Line 25  Line 25 
25      return __extension__ (Diderot_vec6_t){ a, b, c, d, e, f, 0.0, 0.0 };      return __extension__ (Diderot_vec6_t){ a, b, c, d, e, f, 0.0, 0.0 };
26  }  }
27    
28    STATIC_INLINE Diderot_vec6_t loadVec6 (void *vp)
29    {
30        Diderot_real_t *p = (Diderot_real_t *)vp;
31        return vec6(p[0], p[1], p[2], p[3], p[4], p[5]);
32    }
33    
34  STATIC_INLINE Diderot_vec6_t scale6 (Diderot_real_t s, Diderot_vec6_t v)  STATIC_INLINE Diderot_vec6_t scale6 (Diderot_real_t s, Diderot_vec6_t v)
35  {  {
36      return vec6(s, s, s, s, s, s) * v;      return vec6(s, s, s, s, s, s) * v;

Legend:
Removed from v.2634  
changed lines
  Added in v.2635

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