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

Diff of /branches/vis12/src/include/Diderot/inline-vec2.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 26  Line 26 
26  #endif  #endif
27  }  }
28    
29    STATIC_INLINE Diderot_vec2_t loadVec2 (void *vp)
30    {
31        Diderot_real_t *p = (Diderot_real_t *)vp;
32        return vec2(p[0], p[1]);
33    }
34    
35  STATIC_INLINE Diderot_ivec2_t vec2i (Diderot_int_t x, Diderot_int_t y)  STATIC_INLINE Diderot_ivec2_t vec2i (Diderot_int_t x, Diderot_int_t y)
36  {  {
37  #ifdef VEC2_OK  #ifdef VEC2_OK

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