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

SCM Repository

[diderot] Diff of /branches/vis12/src/include/Diderot/types.h
ViewVC logotype

Diff of /branches/vis12/src/include/Diderot/types.h

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

revision 1942, Tue Jul 3 15:22:53 2012 UTC revision 1943, Thu Jul 5 16:29:06 2012 UTC
# Line 72  Line 72 
72  typedef union { int64_t r[4]; vec4l_t v; } union4l_t;  typedef union { int64_t r[4]; vec4l_t v; } union4l_t;
73  typedef union { int64_t r[8]; vec8l_t v; } union8l_t;  typedef union { int64_t r[8]; vec8l_t v; } union8l_t;
74    
75  /* vector lengths must be power of 2, but vec3 is useful, so we pad to 4 */  /* vector lengths must be power of 2, but vec3 and vec3 are useful, so we pad to 4 and 8 (resp.) */
76  typedef vec4f_t vec3f_t;  typedef vec4f_t vec3f_t;
77  typedef union4f_t union3f_t;  typedef union4f_t union3f_t;
78  typedef vec4d_t vec3d_t;  typedef vec4d_t vec3d_t;
# Line 81  Line 81 
81  typedef union4i_t union3i_t;  typedef union4i_t union3i_t;
82  typedef vec4l_t vec3l_t;  typedef vec4l_t vec3l_t;
83  typedef union4l_t union3l_t;  typedef union4l_t union3l_t;
84    typedef vec8f_t vec6f_t;
85    typedef union8f_t union6f_t;
86    typedef vec8d_t vec6d_t;
87    typedef union8d_t union6d_t;
88    
89  /* typedefs for Diderot types */  /* typedefs for Diderot types */
90  #if defined(DIDEROT_SINGLE_PRECISION)  #if defined(DIDEROT_SINGLE_PRECISION)
# Line 88  Line 92 
92  typedef vec2f_t Diderot_vec2_t;  typedef vec2f_t Diderot_vec2_t;
93  typedef vec3f_t Diderot_vec3_t;  typedef vec3f_t Diderot_vec3_t;
94  typedef vec4f_t Diderot_vec4_t;  typedef vec4f_t Diderot_vec4_t;
95    typedef vec6f_t Diderot_vec6_t;
96  typedef union2f_t Diderot_union2_t;  typedef union2f_t Diderot_union2_t;
97  typedef union3f_t Diderot_union3_t;  typedef union3f_t Diderot_union3_t;
98  typedef union4f_t Diderot_union4_t;  typedef union4f_t Diderot_union4_t;
99    typedef union6f_t Diderot_union6_t;
100  typedef union2f_t Diderot_Mat2x2_t[2];  // represented as row vectors  typedef union2f_t Diderot_Mat2x2_t[2];  // represented as row vectors
101  typedef union3f_t Diderot_Mat3x3_t[3];  // represented as row vectors  typedef union3f_t Diderot_Mat3x3_t[3];  // represented as row vectors
102  typedef union4f_t Diderot_Mat4x4_t[4];  // represented as row vectors  typedef union4f_t Diderot_Mat4x4_t[4];  // represented as row vectors
# Line 102  Line 108 
108  typedef vec2d_t Diderot_vec2_t;  typedef vec2d_t Diderot_vec2_t;
109  typedef vec3d_t Diderot_vec3_t;  typedef vec3d_t Diderot_vec3_t;
110  typedef vec4d_t Diderot_vec4_t;  typedef vec4d_t Diderot_vec4_t;
111    typedef vec6d_t Diderot_vec6_t;
112  typedef union2d_t Diderot_union2_t;  typedef union2d_t Diderot_union2_t;
113  typedef union3d_t Diderot_union3_t;  typedef union3d_t Diderot_union3_t;
114  typedef union4d_t Diderot_union4_t;  typedef union4d_t Diderot_union4_t;
115    typedef union6d_t Diderot_union6_t;
116  typedef union2d_t Diderot_Mat2x2_t[2];  // represented as row vectors  typedef union2d_t Diderot_Mat2x2_t[2];  // represented as row vectors
117  typedef union3d_t Diderot_Mat3x3_t[3];  // represented as row vectors  typedef union3d_t Diderot_Mat3x3_t[3];  // represented as row vectors
118  typedef union4d_t Diderot_Mat4x4_t[4];  // represented as row vectors  typedef union4d_t Diderot_Mat4x4_t[4];  // represented as row vectors

Legend:
Removed from v.1942  
changed lines
  Added in v.1943

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