summaryrefslogtreecommitdiffstats
path: root/core/math/basis.h
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2024-09-20 00:18:54 +0200
committerkleonc <9283098+kleonc@users.noreply.github.com>2024-09-20 00:18:54 +0200
commit3bfadeff25c5d86a65a17ee172465e626c9741ba (patch)
tree2d1aa476b9750e03356b0521e6ae71dd3d4dd6c9 /core/math/basis.h
parent0a4aedb36065f66fc7e99cb2e6de3e55242f9dfb (diff)
downloadredot-engine-3bfadeff25c5d86a65a17ee172465e626c9741ba.tar.gz
Fix C# operator *(Transform3D, AABB)
Diffstat (limited to 'core/math/basis.h')
-rw-r--r--core/math/basis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/math/basis.h b/core/math/basis.h
index 5c1a5fbdda..236d666103 100644
--- a/core/math/basis.h
+++ b/core/math/basis.h
@@ -41,11 +41,11 @@ struct [[nodiscard]] Basis {
Vector3(0, 0, 1)
};
- _FORCE_INLINE_ const Vector3 &operator[](int p_axis) const {
- return rows[p_axis];
+ _FORCE_INLINE_ const Vector3 &operator[](int p_row) const {
+ return rows[p_row];
}
- _FORCE_INLINE_ Vector3 &operator[](int p_axis) {
- return rows[p_axis];
+ _FORCE_INLINE_ Vector3 &operator[](int p_row) {
+ return rows[p_row];
}
void invert();