diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-09-19 12:19:54 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-09-19 15:08:50 -0500 |
commit | 436dcb3286da5cfa7e5249ee323c6970b0ecb58a (patch) | |
tree | fa95e28f94c9643e072dbbe5423ed2d459254413 /core/math/vector4.h | |
parent | fd8bd276579faa02f678c3ff61a5ef8da615bfcd (diff) |
Remove set_all methods from Vector2/3/4
Diffstat (limited to 'core/math/vector4.h')
-rw-r--r-- | core/math/vector4.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/math/vector4.h b/core/math/vector4.h index 224b477bf3..b3ddff3f22 100644 --- a/core/math/vector4.h +++ b/core/math/vector4.h @@ -63,8 +63,6 @@ struct _NO_DISCARD_ Vector4 { return components[p_axis]; } - _FORCE_INLINE_ void set_all(const real_t p_value); - Vector4::Axis min_axis_index() const; Vector4::Axis max_axis_index() const; @@ -145,10 +143,6 @@ struct _NO_DISCARD_ Vector4 { } }; -void Vector4::set_all(const real_t p_value) { - x = y = z = p_value; -} - real_t Vector4::dot(const Vector4 &p_vec4) const { return x * p_vec4.x + y * p_vec4.y + z * p_vec4.z + w * p_vec4.w; } |