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

SumoPHYCallbackBridge.h « Sumo « Physics « gameengine « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cc980f3961debeb67409415f325200cdd8f2b8de (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
#ifndef SUMO_PHY_CALLBACK_BRIDGE_H
#define SUMO_PHY_CALLBACK_BRIDGE_H

#include <SOLID/SOLID.h>
#include "PHY_DynamicTypes.h"

class SumoPHYCallbackBridge
{
	void*	m_orgClientData;
	PHY_ResponseCallback		m_phyCallback;

public:
	
	SumoPHYCallbackBridge(void* clientData,PHY_ResponseCallback phyCallback);

	static DT_Bool StaticSolidToPHYCallback(void *client_data,
										   void *client_object1,
										   void *client_object2,
										   const DT_CollData *coll_data);

	DT_Bool SolidToPHY(void *client_object1,
										void *client_object2,
										const DT_CollData *coll_data);


};

#endif //SUMO_PHY_CALLBACK_BRIDGE_H