ScummVM API documentation
te_matricies_stack.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef TETRAEDGE_TE_TE_MATRICIES_STACK_H
23#define TETRAEDGE_TE_TE_MATRICIES_STACK_H
24
25#include "common/stack.h"
26
27#include "tetraedge/te/te_matrix4x4.h"
28#include "tetraedge/te/te_quaternion.h"
29
30namespace Tetraedge {
31
33public:
35
36 const TeMatrix4x4 &currentMatrix() const;
37 bool isEmpty() const;
38 void loadIdentity();
39 void loadMatrix(const TeMatrix4x4 &matrix);
40 void multiplyMatrix(const TeMatrix4x4 &matrix);
41 void popMatrix();
42 void pushMatrix();
43 void rotate(const TeQuaternion &rot);
44 void rotate(float f, const TeVector3f32 &rot);
45 void scale(const TeVector3f32 &scale);
46 uint size();
47 void translate(const TeVector3f32 &trans);
48
49private:
51
52};
53
54} // end namespace Tetraedge
55
56#endif // TETRAEDGE_TE_TE_MATRICIES_STACK_H
Definition: stack.h:102
Definition: te_matricies_stack.h:32
Definition: te_matrix4x4.h:37
Definition: te_quaternion.h:32
Definition: te_vector3f32.h:33