first commit
This commit is contained in:
30
include/engine/physic/physic_world_interface.h
Normal file
30
include/engine/physic/physic_world_interface.h
Normal file
@ -0,0 +1,30 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
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__
|
||||
Reference in New Issue
Block a user