summaryrefslogtreecommitdiff
path: root/core/math/vector4i.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-03 09:23:46 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-03 09:23:46 +0200
commitd9a3888cea31f2b05a4a923e17e9eb5350863003 (patch)
tree8ca31e449f0325d84c986b33e4b26d40355dd993 /core/math/vector4i.cpp
parent5c4d07f952d3431194028a7e052407d61cc3fee7 (diff)
parent436dcb3286da5cfa7e5249ee323c6970b0ecb58a (diff)
Merge pull request #66133 from aaronfranke/set-all
Delete `set_all`, `set_axis`, and `get_axis` methods from Vector2/3/3i/4/4i
Diffstat (limited to 'core/math/vector4i.cpp')
-rw-r--r--core/math/vector4i.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/math/vector4i.cpp b/core/math/vector4i.cpp
index a89b802675..77f6fbd5b7 100644
--- a/core/math/vector4i.cpp
+++ b/core/math/vector4i.cpp
@@ -33,16 +33,6 @@
#include "core/math/vector4.h"
#include "core/string/ustring.h"
-void Vector4i::set_axis(const int p_axis, const int32_t p_value) {
- ERR_FAIL_INDEX(p_axis, 4);
- coord[p_axis] = p_value;
-}
-
-int32_t Vector4i::get_axis(const int p_axis) const {
- ERR_FAIL_INDEX_V(p_axis, 4, 0);
- return operator[](p_axis);
-}
-
Vector4i::Axis Vector4i::min_axis_index() const {
uint32_t min_index = 0;
int32_t min_value = x;