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