2017-08-01 14:30:58 +02:00
|
|
|
|
|
|
|
#ifndef B3_CONSTRAINT4_h
|
|
|
|
#define B3_CONSTRAINT4_h
|
|
|
|
#include "Bullet3Common/b3Vector3.h"
|
|
|
|
|
|
|
|
#include "Bullet3Dynamics/shared/b3ContactConstraint4.h"
|
|
|
|
|
2019-01-03 14:26:51 +01:00
|
|
|
B3_ATTRIBUTE_ALIGNED16(struct)
|
|
|
|
b3GpuConstraint4 : public b3ContactConstraint4
|
2017-08-01 14:30:58 +02:00
|
|
|
{
|
|
|
|
B3_DECLARE_ALIGNED_ALLOCATOR();
|
|
|
|
|
2019-01-03 14:26:51 +01:00
|
|
|
inline void setFrictionCoeff(float value) { m_linear[3] = value; }
|
|
|
|
inline float getFrictionCoeff() const { return m_linear[3]; }
|
2017-08-01 14:30:58 +02:00
|
|
|
};
|
|
|
|
|
2019-01-03 14:26:51 +01:00
|
|
|
#endif //B3_CONSTRAINT4_h
|