mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
95 lines
4.3 KiB
C++
95 lines
4.3 KiB
C++
|
#include "vrclient_private.h"
|
||
|
#include "vrclient_defs.h"
|
||
|
#include "openvr_v0.9.14/openvr.h"
|
||
|
using namespace vr;
|
||
|
extern "C" {
|
||
|
#include "struct_converters.h"
|
||
|
}
|
||
|
#include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h"
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *linux_side)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy();
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t * rect)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose);
|
||
|
}
|
||
|
|
||
|
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t unTagCount)
|
||
|
{
|
||
|
((IVRChaperoneSetup*)linux_side)->SetWorkingWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount);
|
||
|
}
|
||
|
|
||
|
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t * punTagCount)
|
||
|
{
|
||
|
return ((IVRChaperoneSetup*)linux_side)->GetLiveWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount);
|
||
|
}
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|