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

SCM Repository

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

Diff of /branches/charisee/src/include/Diderot/inline-matrix.h

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

revision 2839, Tue Nov 25 19:45:46 2014 UTC revision 2840, Tue Nov 25 19:46:43 2014 UTC
# Line 132  Line 132 
132  {  {
133      return vec3(m[0].r[i], m[1].r[i], m[2].r[i]);      return vec3(m[0].r[i], m[1].r[i], m[2].r[i]);
134  }  }
135    /*
136  STATIC_INLINE void copy3x3 (Diderot_Mat3x3_t dst, Diderot_Mat3x3_t src)  STATIC_INLINE void copy3x3 (Diderot_Mat3x3_t dst, Diderot_Mat3x3_t src)
137  {  {
138      dst[0].v = src[0].v;      dst[0].v = src[0].v;
139      dst[1].v = src[1].v;      dst[1].v = src[1].v;
140      dst[2].v = src[2].v;      dst[2].v = src[2].v;
141  }  }
142    */
143    STATIC_INLINE void copy3x3 (float* dst, float* src)
144    {
145        dst[0] = src[0];
146        dst[1] = src[1];
147        dst[2] = src[2];
148    }
149    
150    
151  STATIC_INLINE void scale3x3 (Diderot_Mat3x3_t dst, Diderot_real_t s, Diderot_Mat3x3_t src)  STATIC_INLINE void scale3x3 (Diderot_Mat3x3_t dst, Diderot_real_t s, Diderot_Mat3x3_t src)
152  {  {

Legend:
Removed from v.2839  
changed lines
  Added in v.2840

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