Skip to content
Snippets Groups Projects
Commit 7cee51ee authored by Dalai Felinto's avatar Dalai Felinto
Browse files

if define, else ... for headers

parent d08dcafb
No related branches found
No related tags found
No related merge requests found
#ifndef __BRIDGE_C_API_H__
#define __BRIDGE_C_API_H__
#include "HMD.h"
#include "Oculus.h"
......@@ -14,4 +17,6 @@ extern "C" {
unsigned int Oculus_height(Oculus *oculus) { return oculus->getHeight(); }
void Oculus_projectionMatrixLeft(Oculus *oculus, const float nearz, const float farz, float *r_matrix[4][4]) { return oculus->getProjectionMatrixLeft(nearz, farz, r_matrix); }
void Oculus_projectionMatrixRight(Oculus *oculus, const float nearz, const float farz, float *r_matrix[4][4]) { return oculus->getProjectionMatrixRight(nearz, farz, r_matrix); }
}
\ No newline at end of file
}
#endif /* __BRIDGE_C_API_H__ */
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment