summaryrefslogtreecommitdiff
path: root/core/math/transform_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
commit4ca6a9809d54aafcb9887cec037ee1f3947fdf02 (patch)
tree52f3e5e5814217b1adbd7a2a369bf5d799482e86 /core/math/transform_2d.cpp
parent8b923163686d3141addaab3931d8875beb4f91d8 (diff)
parentc0083e431bb7bf66987f396cf9a62fa372d92fe9 (diff)
Merge pull request #44596 from KoBeWi/🧹🧹🧹
Cleanup unused engine code v2
Diffstat (limited to 'core/math/transform_2d.cpp')
-rw-r--r--core/math/transform_2d.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/math/transform_2d.cpp b/core/math/transform_2d.cpp
index 6a7ee32230..910995d717 100644
--- a/core/math/transform_2d.cpp
+++ b/core/math/transform_2d.cpp
@@ -221,12 +221,6 @@ Transform2D Transform2D::operator*(const Transform2D &p_transform) const {
return t;
}
-Transform2D Transform2D::basis_scaled(const Size2 &p_scale) const {
- Transform2D copy = *this;
- copy.scale_basis(p_scale);
- return copy;
-}
-
Transform2D Transform2D::scaled(const Size2 &p_scale) const {
// Equivalent to left multiplication
Transform2D copy = *this;