SDL_Window * window
Definition: OVRRenderContext.h:124
float m_nearPlane
Definition: OVRRenderContext.h:128
void destroy()
Definition: OVRRenderContext.cpp:90
float m_bottom
Definition: OVRRenderContext.h:139
float m_scrRatio
Definition: OVRRenderContext.h:130
int m_halfWidth
Definition: OVRRenderContext.h:133
cOVRRenderContext()
Constructor of cOVRRenderContext.
Definition: OVRRenderContext.h:88
cTransform m_modelViewProjectionMatrix
Definition: OVRRenderContext.h:142
float m_left
Definition: OVRRenderContext.h:137
int m_width
Definition: OVRRenderContext.h:131
This class implements a rendering context using the SDL library.
Definition: OVRRenderContext.h:79
float m_fov
Definition: OVRRenderContext.h:127
int m_halfHeight
Definition: OVRRenderContext.h:134
float m_farPlane
Definition: OVRRenderContext.h:129
float m_right
Definition: OVRRenderContext.h:138
~cOVRRenderContext()
Destructor of cOVRRenderContext.
Definition: OVRRenderContext.h:105
SDL_GLContext context
Definition: OVRRenderContext.h:125
int m_height
Definition: OVRRenderContext.h:132
float m_top
Definition: OVRRenderContext.h:140
void init(const char *title, int x, int y, int w, int h)
Definition: OVRRenderContext.cpp:53