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

SCM Repository

[diderot] Diff of /trunk/src/lib/diderot.c
ViewVC logotype

Diff of /trunk/src/lib/diderot.c

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

revision 443, Thu Oct 21 00:05:15 2010 UTC revision 444, Thu Oct 21 00:11:00 2010 UTC
# Line 49  Line 49 
49            - (a)*(h)*(f));            - (a)*(h)*(f));
50  }  }
51    
52  Diderot_real_t DetM4x4 (Matrix4x4_t m)  Diderot_real_t DetM4x4 (Diderot_Mat4x4_t m)
53  {  {
54          return  (m[ 0] * DetM3x3(m[ 5], m[ 6], m[ 7],          return  (m[ 0] * DetM3x3(m[ 5], m[ 6], m[ 7],
55                                   m[ 9], m[10], m[11],                                   m[ 9], m[10], m[11],
# Line 70  Line 70 
70   *  \param m the matrix to invert   *  \param m the matrix to invert
71   *  \param i the inverted matrix   *  \param i the inverted matrix
72   */   */
73  void InvertM4x4 (Matrix4x4_t i, Matrix4x4_t m)  void InvertM4x4 (Diderot_Mat4x4_t i, Diderot_Mat4x4_t m)
74  {  {
75          Diderot_real_t scale = 1.0 / DetM4x4(m);          Diderot_real_t scale = 1.0 / DetM4x4(m);
76    

Legend:
Removed from v.443  
changed lines
  Added in v.444

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