diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-09-19 12:49:18 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-09-19 15:08:50 -0500 |
commit | fd8bd276579faa02f678c3ff61a5ef8da615bfcd (patch) | |
tree | 1de061f5df5bd1a1468726cfa0afc8c436026bd3 /core/math/vector4i.cpp | |
parent | bcf754d735249a779469839455d925cf42b48057 (diff) | |
download | redot-engine-fd8bd276579faa02f678c3ff61a5ef8da615bfcd.tar.gz |
Remove set_axis and get_axis methods from Vector2/2i/3/3i/4/4i
Diffstat (limited to 'core/math/vector4i.cpp')
-rw-r--r-- | core/math/vector4i.cpp | 10 |
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; |