From 376be529bb932f867b01466592c33899ee5ec2c8 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 6 Jul 2007 03:12:31 +0000 Subject: synchronized to latest version of Bullet. added btConeTwistConstraint (useful for ragdolls etc) --- extern/bullet2/src/LinearMath/btTransform.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'extern/bullet2/src/LinearMath/btTransform.h') diff --git a/extern/bullet2/src/LinearMath/btTransform.h b/extern/bullet2/src/LinearMath/btTransform.h index b1f3dfca492..2d55fec83a4 100644 --- a/extern/bullet2/src/LinearMath/btTransform.h +++ b/extern/bullet2/src/LinearMath/btTransform.h @@ -42,6 +42,19 @@ public: m_origin(c) {} + SIMD_FORCE_INLINE btTransform (const btTransform& other) + : m_basis(other.m_basis), + m_origin(other.m_origin) + { + } + + SIMD_FORCE_INLINE btTransform& operator=(const btTransform& other) + { + m_basis = other.m_basis; + m_origin = other.m_origin; + return *this; + } + SIMD_FORCE_INLINE void mult(const btTransform& t1, const btTransform& t2) { m_basis = t1.m_basis * t2.m_basis; -- cgit v1.2.3