summaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-10 01:34:21 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commit6537dfe7f103161676a8850801383b0d63efd40e (patch)
treef5c7fc57cd126bfcdc27f17076d8c390efa5aa22 /src/math
parentupdate librw (diff)
downloadre3-6537dfe7f103161676a8850801383b0d63efd40e.tar
re3-6537dfe7f103161676a8850801383b0d63efd40e.tar.gz
re3-6537dfe7f103161676a8850801383b0d63efd40e.tar.bz2
re3-6537dfe7f103161676a8850801383b0d63efd40e.tar.lz
re3-6537dfe7f103161676a8850801383b0d63efd40e.tar.xz
re3-6537dfe7f103161676a8850801383b0d63efd40e.tar.zst
re3-6537dfe7f103161676a8850801383b0d63efd40e.zip
Diffstat (limited to '')
-rw-r--r--src/math/Matrix.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/math/Matrix.h b/src/math/Matrix.h
index 9d50a4f6..6404b506 100644
--- a/src/math/Matrix.h
+++ b/src/math/Matrix.h
@@ -72,22 +72,6 @@ public:
void SetRotateXOnly(float angle);
void SetRotateYOnly(float angle);
void SetRotateZOnly(float angle);
- void SetRotateZOnlyScaled(float angle, float scale) {
- float c = Cos(angle);
- float s = Sin(angle);
-
- rx = c * scale;
- ry = s * scale;
- rz = 0.0f;
-
- fx = -s * scale;
- fy = c * scale;
- fz = 0.0f;
-
- ux = 0.0f;
- uy = 0.0f;
- uz = scale;
- }
void SetRotateX(float angle);
void SetRotateY(float angle);
void SetRotateZ(float angle);