add btMatrix3x3 constructor from vectors

This commit is contained in:
Xuchen Han
2019-09-27 15:30:53 -07:00
parent c178905998
commit 11ad0f0dfd

View File

@@ -126,6 +126,13 @@ public:
return *this;
}
SIMD_FORCE_INLINE btMatrix3x3(const btVector3& v0, const btVector3& v1, const btVector3& v2)
{
m_el[0] = v0;
m_el[1] = v1;
m_el[2] = v2;
}
#endif
/** @brief Get a column of the matrix as a vector