Yucom/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp

60 lines
1.9 KiB
C++
Raw Normal View History

2018-01-18 20:29:49 +01:00
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v0.9.10/openvr.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
}
#include "cppIVRChaperone_IVRChaperone_002.h"
#ifdef __cplusplus
extern "C" {
#endif
vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *linux_side)
{
return ((IVRChaperone*)linux_side)->GetCalibrationState();
}
bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *linux_side, ChaperoneSoftBoundsInfo_t * pInfo)
{
return ((IVRChaperone*)linux_side)->GetSoftBoundsInfo((vr::ChaperoneSoftBoundsInfo_t *)pInfo);
}
bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
{
return ((IVRChaperone*)linux_side)->GetHardBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
}
bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *linux_side, ChaperoneSeatedBoundsInfo_t * pInfo)
{
return ((IVRChaperone*)linux_side)->GetSeatedBoundsInfo((vr::ChaperoneSeatedBoundsInfo_t *)pInfo);
}
void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *linux_side)
{
((IVRChaperone*)linux_side)->ReloadInfo();
}
void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *linux_side, HmdColor_t color)
{
((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color);
}
void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors)
{
((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors);
}
bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *linux_side)
{
return ((IVRChaperone*)linux_side)->AreBoundsVisible();
}
void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *linux_side, bool bForce)
{
((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce);
}
#ifdef __cplusplus
}
#endif