Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,55 @@
#pragma once
#ifdef ANDROID
#include <jni.h>
#endif
#include <kha/vr/SensorState.h>
#include <kha/vr/TimeWarpParms.h>
#include <kha/Image.h>
#include <kha/math/Quaternion.h>
namespace Kore {
namespace VrInterface {
#ifdef ANDROID
// Save the JVM. Must be called before Initialize().
// TODO: Can this be handled better?
void SetJVM(JavaVM *jvm);
#endif
#ifdef VR_CARDBOARD
void DistortionBefore();
void DistortionAfter();
void DistortTexture(kha::Image_obj *image);
void updateGaze(float x, float y, float z, float w);
kha::math::Quaternion_obj *getGaze();
#endif
#ifdef VR_GEAR_VR
// Calls ovr_enterVrMode
void Initialize();
void WarpSwapBlack();
void WarpSwapLoadingIcon();
kha::vr::SensorState_obj *GetSensorState();
kha::vr::SensorState_obj *GetPredictedSensorState(float time);
double GetTimeInSeconds();
void WarpSwap(kha::vr::TimeWarpParms_obj *parms);
#endif
}
}