first commit
This commit is contained in:
36
include/engine/scene3d/scene_physic_world_interface.h
Normal file
36
include/engine/scene3d/scene_physic_world_interface.h
Normal file
@ -0,0 +1,36 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __SCENEPHYSICWORLDINTERFACE__
|
||||
#define __SCENEPHYSICWORLDINTERFACE__
|
||||
|
||||
|
||||
#include "physic/physic_world_interface.h"
|
||||
|
||||
|
||||
namespace GS {
|
||||
namespace S3D {
|
||||
class Scene;
|
||||
|
||||
/*!
|
||||
@short The scene physic world interface.
|
||||
*/
|
||||
class IScenePhysicWorld : public IPhysicWorld
|
||||
{
|
||||
Scene *scene;
|
||||
|
||||
public:
|
||||
|
||||
void PhysicStep(float, bool = true);
|
||||
|
||||
IScenePhysicWorld(Scene *s) : scene(s) {}
|
||||
};
|
||||
|
||||
} // S3D
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __SCENEPHYSICWORLDINTERFACE__
|
||||
Reference in New Issue
Block a user