forked from CidVonHighwind/FrontendGo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLayerBuilder.h
More file actions
30 lines (20 loc) · 1.22 KB
/
LayerBuilder.h
File metadata and controls
30 lines (20 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef LAYERBUILDER_H
#define LAYERBUILDER_H
#include "App.h"
using namespace OVR;
namespace LayerBuilder {
extern float screenPitch, screenYaw, screenRoll, radiusMenuScreen, screenSize;
void UpdateDirection(const ovrFrameInput &vrFrame);
void ResetValues();
ovrLayerCylinder2 BuildSettingsCylinderLayer(ovrTextureSwapChain *cylinderSwapChain,
const int textureWidth, const int textureHeight,
const ovrTracking2 *tracking, bool followHead, float offsetY);
ovrLayerCylinder2 BuildGameCylinderLayer(ovrTextureSwapChain *cylinderSwapChain,
const int textureWidth, const int textureHeight,
const ovrTracking2 *tracking, bool followHead);
ovrLayerCylinder2 BuildGameCylinderLayer3D(ovrTextureSwapChain *cylinderSwapChain,
const int textureWidth, const int textureHeight,
const ovrTracking2 *tracking, bool followHead,
bool threedee, float threedeeoffset);
} // namespace LayerBuilder
#endif