From 09876eace2bf8e0917db7b30020487a0be9b283f Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Thu, 13 Nov 2025 19:54:54 +0100 Subject: [PATCH] Create explicit copy constructor for btVector4 --- src/LinearMath/btVector3.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/LinearMath/btVector3.h b/src/LinearMath/btVector3.h index 9da162772c..e15a8ab391 100644 --- a/src/LinearMath/btVector3.h +++ b/src/LinearMath/btVector3.h @@ -1092,6 +1092,11 @@ class btVector4 : public btVector3 mVec128 = rhs.mVec128; } + SIMD_FORCE_INLINE btVector4(const btVector4& rhs) + { + mVec128 = rhs.mVec128; + } + SIMD_FORCE_INLINE btVector4& operator=(const btVector4& v) {