Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Mat* Impala::Core::Matrix::MatMakeScale2d ( double  sx,
double  sy 
) [inline]

Definition at line 15 of file MatMakeScale2d.h.

References MatE().

Referenced by Impala::Core::Array::Scale().

00016 {
00017     Mat* m = MatCreate<Mat>(3, 3);
00018     MatStorType* ptr = MatE(m, 0, 0);
00019     *ptr++ = sx;  *ptr++ =  0;  *ptr++ = 0;
00020     *ptr++ =  0;  *ptr++ = sy;  *ptr++ = 0;
00021     *ptr++ =  0;  *ptr++ =  0;  *ptr++ = 1;
00022     return m;
00023 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:12 2011 for ImpalaSrc by  doxygen 1.5.1