Lines Matching refs:top
26 top = 0; in MatrixStack()
38 stack[top] = 1; in identity()
43 stack[top] = 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()
90 stack[top] *= rotate; 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()
124 …void MatrixStack::frustum(float left, float right, float bottom, float top, float zNear, float zFa… in frustum() argument
129 float t = (float)top; in frustum()
143 stack[this->top] *= frustum; in frustum()
146 …void MatrixStack::ortho(double left, double right, double bottom, double top, double zNear, double… in ortho() argument
151 float t = (float)top; in ortho()
164 stack[this->top] *= ortho; in ortho()
169 if(top >= size - 1) return false; in push()
171 stack[top + 1] = stack[top]; in push()
172 top++; in push()
179 if(top <= 0) return false; in pop()
181 top--; in pop()
188 return stack[top]; in current()
193 const Matrix &m = stack[top]; in isIdentity()