mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:53:51 +00:00
25 lines
460 B
C++
25 lines
460 B
C++
|
#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
|