31 lines
624 B
C++
31 lines
624 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#ifndef __PHYSICWORLDINTERFACE__
|
|
#define __PHYSICWORLDINTERFACE__
|
|
|
|
|
|
namespace GS {
|
|
namespace S3D {
|
|
|
|
/*
|
|
@short Physic world interface.
|
|
@author Emmanuel Julien (ejulien@gsworks.fr)
|
|
*/
|
|
struct IPhysicWorld
|
|
{
|
|
/// Called whenever a physic tick is done.
|
|
virtual void PhysicStep(float, bool = true) {}
|
|
|
|
virtual ~IPhysicWorld() {}
|
|
};
|
|
|
|
} // S3D
|
|
} // GS
|
|
|
|
|
|
#endif // __PHYSICWORLDINTERFACE__
|