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-05-10 01:45:04 +0200
commit3dda658e4296c0b009f0670d6a9c6d2da2878569 (patch)
tree42fd6704034e4ebb218a0b23a5fe727f58822a07 /src/math
parentSmall Acos fix (diff)
downloadre3-3dda658e4296c0b009f0670d6a9c6d2da2878569.tar
re3-3dda658e4296c0b009f0670d6a9c6d2da2878569.tar.gz
re3-3dda658e4296c0b009f0670d6a9c6d2da2878569.tar.bz2
re3-3dda658e4296c0b009f0670d6a9c6d2da2878569.tar.lz
re3-3dda658e4296c0b009f0670d6a9c6d2da2878569.tar.xz
re3-3dda658e4296c0b009f0670d6a9c6d2da2878569.tar.zst
re3-3dda658e4296c0b009f0670d6a9c6d2da2878569.zip
Diffstat (limited to 'src/math')
-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 6da4c767..0adcf32c 100644
--- a/src/math/Matrix.h
+++ b/src/math/Matrix.h
@@ -92,22 +92,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);