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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/diderot.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/diderot.h

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

revision 726, Fri Apr 1 23:50:29 2011 UTC revision 727, Fri Apr 1 23:59:45 2011 UTC
# Line 58  Line 58 
58  #include "inline-vec2.h"  #include "inline-vec2.h"
59  #include "inline-vec3.h"  #include "inline-vec3.h"
60  #include "inline-vec4.h"  #include "inline-vec4.h"
61    #include "inline-matrix.h"
   
 /********** 2x2 matrix functions **********/  
   
 STATIC_INLINE float trace2x2f (Diderot_Mat2x2_t m)  
 {  
     return m[0].r[0] + m[1].r[1];  
 }  
   
   
 /********** 3x3 matrix functions **********/  
   
 STATIC_INLINE float trace3x3f (Diderot_Mat3x3_t m)  
 {  
     return m[0].r[0] + m[1].r[1] + m[2].r[2];  
 }  
   
   
 /********** 4x4 matrix functions **********/  
   
 STATIC_INLINE float trace4x4f (Diderot_Mat4x4_t m)  
 {  
     return m[0].r[0] + m[1].r[1] + m[2].r[2] + m[3].r[3];  
 }  
62    
63    
64  /********** other Diderot support functions **********/  /********** other Diderot support functions **********/

Legend:
Removed from v.726  
changed lines
  Added in v.727

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