add btMatrix3x3 constructor from vectors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user