aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/math/Matrix4.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-03 06:34:48 +0200
committerEinar Johan Trøan Sømåen2012-07-03 06:34:48 +0200
commit46d2428dabb1637218b924753e9a3942d4d73b69 (patch)
tree51e21eb5a3e5a754cb62428242d5dfa8a4733af7 /engines/wintermute/math/Matrix4.cpp
parent370355f85ec1ac55b7a1467899ecfbff788ec1c7 (diff)
downloadscummvm-rg350-46d2428dabb1637218b924753e9a3942d4d73b69.tar.gz
scummvm-rg350-46d2428dabb1637218b924753e9a3942d4d73b69.tar.bz2
scummvm-rg350-46d2428dabb1637218b924753e9a3942d4d73b69.zip
WINTERMUTE: Rename FuncName->funcName in Math-classes
Diffstat (limited to 'engines/wintermute/math/Matrix4.cpp')
-rw-r--r--engines/wintermute/math/Matrix4.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/math/Matrix4.cpp b/engines/wintermute/math/Matrix4.cpp
index d9d17b613b..557f0d5c9a 100644
--- a/engines/wintermute/math/Matrix4.cpp
+++ b/engines/wintermute/math/Matrix4.cpp
@@ -47,7 +47,7 @@ Matrix4::~Matrix4() {
//////////////////////////////////////////////////////////////////////////
-void Matrix4::Identity() {
+void Matrix4::identity() {
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 4; j++) {
m[i][j] = 0.0f;
@@ -61,8 +61,8 @@ void Matrix4::Identity() {
}
//////////////////////////////////////////////////////////////////////////
-void Matrix4::RotationZ(float angle) {
- Identity();
+void Matrix4::rotationZ(float angle) {
+ identity();
m[0][0] = cos(angle);
m[1][1] = cos(angle);
@@ -71,7 +71,7 @@ void Matrix4::RotationZ(float angle) {
}
//////////////////////////////////////////////////////////////////////////
-void Matrix4::TransformVector2(Vector2 &vec) {
+void Matrix4::transformVector2(Vector2 &vec) {
float norm;
norm = m[0][3] * vec.x + m[1][3] * vec.y + m[3][3];