Merge pull request #656 from gtzampanakis/buildfix

Fixed: Error because of unparameterized btVectorX
This commit is contained in:
erwincoumans 2016-06-14 07:50:43 -07:00 committed by GitHub
commit 9a8a52e1f9

View File

@ -48,9 +48,9 @@ inline mat33 operator*(const idScalar& s, const mat33& a) { return a * s; }
class vecx : public btVectorX<idScalar> {
public:
vecx(int size) : btVectorX(size) {}
vecx(int size) : btVectorX<idScalar>(size) {}
const vecx& operator=(const btVectorX<idScalar>& rhs) {
*static_cast<btVectorX*>(this) = rhs;
*static_cast<btVectorX<idScalar>*>(this) = rhs;
return *this;
}