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 2360, Sun Apr 7 16:32:36 2013 UTC revision 2361, Sun Apr 7 16:33:14 2013 UTC
# Line 25  Line 25 
25      return __extension__ (Diderot_vec2_t){ a, b, 0.0, 0.0 };      return __extension__ (Diderot_vec2_t){ a, b, 0.0, 0.0 };
26  #endif  #endif
27  }  }
28    
29  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)
30  {  {
31  #ifdef VEC2_OK  #ifdef VEC2_OK
# Line 33  Line 34 
34      return __extension__ (Diderot_ivec2_t){x,y, 0, 0 };      return __extension__ (Diderot_ivec2_t){x,y, 0, 0 };
35  #endif  #endif
36  }  }
37    
38  STATIC_INLINE Diderot_ivec2_t vec2rtoi (Diderot_vec2_t v)  STATIC_INLINE Diderot_ivec2_t vec2rtoi (Diderot_vec2_t v)
39  {  {
40      Diderot_union2_t u;      Diderot_union2_t u;

Legend:
Removed from v.2360  
changed lines
  Added in v.2361

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