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

Mat* Impala::Core::Matrix::MatMakeTranslate2d ( double  x,
double  y 
) [inline]

Definition at line 15 of file MatMakeTranslate2d.h.

References MatE().

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

00016 {
00017     Mat* m = MatCreate<Mat>(3, 3);
00018     MatStorType* ptr = MatE(m, 0, 0);
00019     *ptr++ = 1;  *ptr++ = 0;  *ptr++ = x;
00020     *ptr++ = 0;  *ptr++ = 1;  *ptr++ = y;
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