blob: c77599d9d93bb9497c911c1eca57cf6161c354ae (
plain)
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
|
#ifndef _COMMON_H
#define _COMMON_H
#include "shared/Matrices.h"
#include <string>
#include <openvr.h>
#define CONTENT_FOLDER "../hmd_opencv_sandbox_resources"
#if defined(POSIX)
#include "unistd.h"
#endif
#ifndef _WIN32
#define APIENTRY
#endif
Matrix4 ConvertSteamVRMatrixToMatrix4( const vr::HmdMatrix34_t &matPose );
extern Matrix4 gCurrentViewProjection;
void dprintf( int stream, const char *fmt, ... );
double FileTimeCached( const char * fname );
std::string FileToString( const char * fn );
#endif
|