2 #ifndef B3_CONSTRAINT4_h
3 #define B3_CONSTRAINT4_h
4 #include "Bullet3Common/b3Vector3.h"
6 #include "Bullet3Dynamics/shared/b3ContactConstraint4.h"
8 B3_ATTRIBUTE_ALIGNED16(struct)
9 b3GpuConstraint4 : public b3ContactConstraint4
11 B3_DECLARE_ALIGNED_ALLOCATOR();
13 inline void setFrictionCoeff(float value) { m_linear[3] = value; }
14 inline float getFrictionCoeff() const { return m_linear[3]; }
17 #endif //B3_CONSTRAINT4_h