Remove unneeded code
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "OgreApplicationContext.h"
|
||||
#include "Bullet/OgreBullet.h"
|
||||
#include "BulletCollision/CollisionDispatch/btGhostObject.h"
|
||||
#include "btKinematicCharacterController.h"
|
||||
#include "LinearMath/btTransform.h"
|
||||
#include "OgrePageManager.h"
|
||||
#include "lua_control.h"
|
||||
@@ -235,7 +234,6 @@ class CharacterController : public OgreBites::InputListener, Ogre::FrameListener
|
||||
// btRigidBody *mRigidBody;
|
||||
btCompoundShape *mCollisionShape;
|
||||
btPairCachingGhostObject *mGhostObject;
|
||||
btKinematicCharacterController *mController;
|
||||
public:
|
||||
CharacterController(Ogre::SceneNode *camNode, Ogre::Camera *cam, Ogre::SceneManager *scnMgr, MainWorld *world);
|
||||
~CharacterController();
|
||||
@@ -322,7 +320,6 @@ CharacterController::CharacterController(
|
||||
, world(world)
|
||||
, mCollisionShape(nullptr)
|
||||
, mGhostObject(nullptr)
|
||||
, mController(nullptr)
|
||||
{
|
||||
|
||||
setupBody();
|
||||
|
||||
Reference in New Issue
Block a user