#include <glsl_math.h>
Static Public Member Functions | |
float | calc (const Mat &m, typename Mat::size_type col, typename Mat::size_type row) |
|
Definition at line 631 of file glsl_math.h. References gslib::glsl_math::det().
00631 { 00632 SmallMat result; 00633 float* f = result.array; 00634 for ( Mat::size_type i = 0; i < Mat::columnSize(); ++i ) { 00635 if ( i != col ) { 00636 for ( Mat::size_type j = 0; j < Mat::rowSize(); ++j ) { 00637 if ( j != row ) { 00638 *f = m[ i ][ j ]; 00639 ++f; 00640 } 00641 } 00642 } 00643 } 00644 return det( result ); 00645 } |
Here is the call graph for this function: