1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 00:49:54 +00:00
openmw-tes3mp/apps/openmw/mwmp/MechanicsHelper.hpp

23 lines
477 B
C++

#ifndef OPENMW_MECHANICSHELPER_HPP
#define OPENMW_MECHANICSHELPER_HPP
#include <components/openmw-mp/Base/BaseStructs.hpp>
#include <osg/Vec3f>
namespace mwmp
{
class MechanicsHelper
{
public:
MechanicsHelper();
~MechanicsHelper();
osg::Vec3f getLinearInterpolation(osg::Vec3f start, osg::Vec3f end, float percent);
void processAttack(const MWWorld::Ptr& attacker, Attack attack);
};
}
#endif //OPENMW_MECHANICSHELPER_HPP