Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ContactJoint.h « Dynamics « BulletDynamics « bullet « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 54cc5283da01d686119aee1e1992467613470c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef CONTACT_JOINT_H
#define CONTACT_JOINT_H

#include "BU_Joint.h"
class RigidBody;
class PersistentManifold;

class ContactJoint : public BU_Joint
{
	PersistentManifold* m_manifold;
	int		m_index;
	bool	m_swapBodies;
	RigidBody* m_body0;
	RigidBody* m_body1;


public:

	ContactJoint() {};

	ContactJoint(PersistentManifold* manifold,int index,bool swap,RigidBody* body0,RigidBody* body1);

	//BU_Joint interface for solver

	virtual void GetInfo1(Info1 *info);

	virtual void GetInfo2(Info2 *info);


	

};
#endif //CONTACT_JOINT_H