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

SCM Repository

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

Diff of /branches/lamont/src/include/Diderot/inline-vec2.h

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

revision 2161, Wed Feb 20 04:32:27 2013 UTC revision 2162, Thu Feb 21 04:59:17 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    STATIC_INLINE Diderot_ivec2_t vec2i (Diderot_int_t x, Diderot_int_t y)
29    {
30    #ifdef VEC2_OK
31        return __extension__ (Diderot_ivec2_t){x,y};
32    #else
33        return __extension__ (Diderot_ivec2_t){x,y, 0, 0 };
34    #endif
35    }
36  STATIC_INLINE Diderot_ivec2_t vec2rtoi (Diderot_vec2_t v)  STATIC_INLINE Diderot_ivec2_t vec2rtoi (Diderot_vec2_t v)
37  {  {
38      Diderot_union2_t u;      Diderot_union2_t u;

Legend:
Removed from v.2161  
changed lines
  Added in v.2162

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