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

SCM Repository

[diderot] Diff of /trunk/src/include/Diderot/inline-vec2.h
ViewVC logotype

Diff of /trunk/src/include/Diderot/inline-vec2.h

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

revision 2355, Sun Apr 7 11:35:08 2013 UTC revision 2356, Sun Apr 7 14:45:25 2013 UTC
# Line 26  Line 26 
26  #endif  #endif
27  }  }
28    
29    STATIC_INLINE Diderot_ivec2_t vec2i (Diderot_int_t x, Diderot_int_t y)
30    {
31    #ifdef VEC2_OK
32        return __extension__ (Diderot_ivec2_t){x,y};
33    #else
34        return __extension__ (Diderot_ivec2_t){x,y, 0, 0 };
35    #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.2355  
changed lines
  Added in v.2356

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