Add B3G_RETURN key code, only implemented in Windows so far (todo: Mac, Linux) Fix Windows key management (use WM_CHAR event instead of WM_KEYUP Add Return (OnKeyReturn) key support TreeNode, so we can select an item using the return key.
29 lines
607 B
C++
29 lines
607 B
C++
#ifndef BASIC_DEMO_PHYSICS_SETUP_H
|
|
#define BASIC_DEMO_PHYSICS_SETUP_H
|
|
|
|
class btRigidBody;
|
|
class btCollisionShape;
|
|
class btBroadphaseInterface;
|
|
class btConstraintSolver;
|
|
class btCollisionDispatcher;
|
|
class btDefaultCollisionConfiguration;
|
|
class btDiscreteDynamicsWorld;
|
|
class btTransform;
|
|
class btVector3;
|
|
class btBoxShape;
|
|
#include "LinearMath/btVector3.h"
|
|
|
|
#include "LinearMath/btAlignedObjectArray.h"
|
|
|
|
|
|
#include "../CommonRigidBodySetup.h"
|
|
|
|
struct BasicDemoPhysicsSetup : public CommonRigidBodySetup
|
|
{
|
|
|
|
virtual void initPhysics(GraphicsPhysicsBridge& gfxBridge);
|
|
|
|
};
|
|
|
|
#endif //BASIC_DEMO_PHYSICS_SETUP_H
|