1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 07:53:51 +00:00
openmw-tes3mp/apps/openmw/mwvr/vrutil.hpp

25 lines
460 B
C++
Raw Normal View History

#ifndef VR_UTIL_HPP
#define VR_UTIL_HPP
#include "../mwworld/ptr.hpp"
#include "vrtypes.hpp"
namespace MWRender
{
struct RayResult;
}
namespace MWVR
{
namespace Util {
std::pair<MWWorld::Ptr, float> getTouchTarget();
std::pair<MWWorld::Ptr, float> getWeaponTarget();
float getPoseTarget(MWRender::RayResult& result, const Pose& pose, bool allowTelekinesis);
Pose getNodePose(const osg::Node* node);
}
}
#endif