54 lines
1.7 KiB
C++
54 lines
1.7 KiB
C++
#include "vrclient_private.h"
|
|
#include "vrclient_defs.h"
|
|
#include "openvr_v1.0.15/ivrclientcore.h"
|
|
using namespace vr;
|
|
extern "C" {
|
|
#include "struct_converters.h"
|
|
}
|
|
#include "cppIVRChaperone_IVRChaperone_003.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *linux_side)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->GetCalibrationState();
|
|
}
|
|
|
|
bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ);
|
|
}
|
|
|
|
bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *linux_side, HmdQuad_t * rect)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect);
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *linux_side)
|
|
{
|
|
((IVRChaperone*)linux_side)->ReloadInfo();
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *linux_side, HmdColor_t color)
|
|
{
|
|
((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color);
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor)
|
|
{
|
|
((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor);
|
|
}
|
|
|
|
bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *linux_side)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->AreBoundsVisible();
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *linux_side, bool bForce)
|
|
{
|
|
((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|