diff options
Diffstat (limited to 'core/math/rect3.h')
| -rw-r--r-- | core/math/rect3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/math/rect3.h b/core/math/rect3.h index b7c94ad9f..e5d746200 100644 --- a/core/math/rect3.h +++ b/core/math/rect3.h @@ -101,9 +101,9 @@ public: operator String() const; _FORCE_INLINE_ Rect3() {} - inline Rect3(const Vector3 &p_pos, const Vector3 &p_size) { - position = p_pos; - size = p_size; + inline Rect3(const Vector3 &p_pos, const Vector3 &p_size) + : position(p_pos), + size(p_size) { } }; |
