summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/Bullet3OpenCL/RigidBody/b3GpuConstraint4.h
blob: c7478f54a1b66f00e9f249f028b164ad7439da33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef B3_CONSTRAINT4_h
#define B3_CONSTRAINT4_h
#include "Bullet3Common/b3Vector3.h"

#include "Bullet3Dynamics/shared/b3ContactConstraint4.h"


B3_ATTRIBUTE_ALIGNED16(struct) b3GpuConstraint4 : public b3ContactConstraint4
{
	B3_DECLARE_ALIGNED_ALLOCATOR();

	inline	void setFrictionCoeff(float value) { m_linear[3] = value; }
	inline	float getFrictionCoeff() const { return m_linear[3]; }
};

#endif //B3_CONSTRAINT4_h