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-vec4.h
ViewVC logotype

Diff of /branches/staging/src/include/Diderot/inline-vec4.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 22  Line 22 
22      return __extension__ (Diderot_vec4_t){ a, b, c, d };      return __extension__ (Diderot_vec4_t){ a, b, c, d };
23  }  }
24    
25    STATIC_INLINE Diderot_vec4_t loadVec4 (void *vp)
26    {
27        Diderot_real_t *p = (Diderot_real_t *)vp;
28        return vec4(p[0], p[1], p[2], p[3]);
29    }
30    
31  STATIC_INLINE Diderot_ivec4_t vec4rtoi (Diderot_vec4_t v)  STATIC_INLINE Diderot_ivec4_t vec4rtoi (Diderot_vec4_t v)
32  {  {
33      Diderot_union4_t u;      Diderot_union4_t u;

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