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

SCM Repository

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

Diff of /branches/vis12/src/include/Diderot/inline-vec3.h

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

revision 2589, Thu Apr 17 19:12:55 2014 UTC revision 2590, Thu Apr 17 19:26:31 2014 UTC
# Line 22  Line 22 
22      return __extension__ (Diderot_vec3_t){ a, b, c, 0.0f };      return __extension__ (Diderot_vec3_t){ a, b, c, 0.0f };
23  }  }
24    
25    STATIC_INLINE Diderot_vec3_t loadVec3 (void *vp)
26    {
27        Diderot_real_t *p = (Diderot_real_t *)vp;
28        return vec3(p[0], p[1], p[2]);
29    }
30    
31  STATIC_INLINE Diderot_ivec3_t vec3rtoi (Diderot_vec3_t v)  STATIC_INLINE Diderot_ivec3_t vec3rtoi (Diderot_vec3_t v)
32  {  {
33      Diderot_union3_t u;      Diderot_union3_t u;

Legend:
Removed from v.2589  
changed lines
  Added in v.2590

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