Started refactoring examples and got DecodeOnGPUExample working.
This commit is contained in:
@ -121,6 +121,8 @@ void OpenGLWidget::initializeGL()
|
||||
|
||||
// Initial setup of camera.
|
||||
setupWorldToCameraMatrix();
|
||||
|
||||
initialize();
|
||||
}
|
||||
|
||||
void OpenGLWidget::resizeGL(int w, int h)
|
||||
|
@ -136,6 +136,10 @@ protected:
|
||||
void resizeGL(int w, int h);
|
||||
void paintGL();
|
||||
|
||||
virtual void initialize()
|
||||
{
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
void setupWorldToCameraMatrix();
|
||||
|
Reference in New Issue
Block a user