mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-28 18:45:33 +00:00
24 lines
460 B
C++
24 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
|