summaryrefslogtreecommitdiffstats
path: root/core/math/projection.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/projection.h')
-rw-r--r--core/math/projection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/projection.h b/core/math/projection.h
index b3a9cff002..a7adc9017e 100644
--- a/core/math/projection.h
+++ b/core/math/projection.h
@@ -55,12 +55,12 @@ struct _NO_DISCARD_ Projection {
Vector4 columns[4];
- _FORCE_INLINE_ const Vector4 &operator[](const int p_axis) const {
+ _FORCE_INLINE_ const Vector4 &operator[](int p_axis) const {
DEV_ASSERT((unsigned int)p_axis < 4);
return columns[p_axis];
}
- _FORCE_INLINE_ Vector4 &operator[](const int p_axis) {
+ _FORCE_INLINE_ Vector4 &operator[](int p_axis) {
DEV_ASSERT((unsigned int)p_axis < 4);
return columns[p_axis];
}