We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cde5a3 + e117ed9 commit 8126d81Copy full SHA for 8126d81
core/math/vector4.h
@@ -55,16 +55,16 @@ struct [[nodiscard]] Vector4 {
55
real_t z;
56
real_t w;
57
};
58
- real_t components[4] = { 0, 0, 0, 0 };
+ real_t coord[4] = { 0, 0, 0, 0 };
59
60
61
_FORCE_INLINE_ real_t &operator[](int p_axis) {
62
DEV_ASSERT((unsigned int)p_axis < 4);
63
- return components[p_axis];
+ return coord[p_axis];
64
}
65
_FORCE_INLINE_ const real_t &operator[](int p_axis) const {
66
67
68
69
70
Vector4::Axis min_axis_index() const;
0 commit comments