Lines Matching refs:Matrix
23 stack = new Matrix[size];
41 void MatrixStack::load(const Matrix &M)
48 stack[top] = Matrix(M[0], M[4], M[8], M[12],
56 stack[top] = Matrix((float)M[0], (float)M[4], (float)M[8], (float)M[12],
64 stack[top] *= Matrix::translate(x, y, z);
86 sw::Matrix rotate(c+x*x*_c, x*y*_c-z*s, x*z*_c+y*s,
100 stack[top] *= Matrix::scale(x, y, z);
110 stack[top] *= Matrix(M[0], M[4], M[8], M[12],
118 stack[top] *= Matrix((float)M[0], (float)M[4], (float)M[8], (float)M[12],
138 Matrix frustum(2 * n / (r - l), 0, A, 0,
159 Matrix ortho(2 / (r - l), 0, 0, tx,
186 const Matrix &MatrixStack::current()
193 const Matrix &m = stack[top];