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