From fd8bd276579faa02f678c3ff61a5ef8da615bfcd Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Mon, 19 Sep 2022 12:49:18 -0500 Subject: Remove set_axis and get_axis methods from Vector2/2i/3/3i/4/4i --- core/math/vector4i.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'core/math/vector4i.cpp') 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; -- cgit v1.2.3