Lines Matching refs:Matrix
26 #include <graphics/Matrix.h>
71 Matrix* FlockingScene::setUpModelMatrix() {
72 return new Matrix();
75 Matrix* FlockingScene::setUpViewMatrix() {
91 // Set the view matrix.
92 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
95 Matrix* FlockingScene::setUpProjectionMatrix(float width, float height) {
96 // Create a new perspective projection matrix. The height will stay the same
109 return Matrix::newFrustum(left, right, bottom, top, near, far);
146 Matrix* transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 0.0f);
164 transformMatrix = Matrix::newScale(SCALE, SCALE, SCALE);
175 transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 1.0f);