]> git.tdb.fi Git - libs/gl.git/commit
Associate camera and setup/finish_frame calls with View
authorMikko Rasa <tdb@tdb.fi>
Mon, 5 Dec 2016 14:15:27 +0000 (16:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 5 Dec 2016 15:14:13 +0000 (17:14 +0200)
commit7791ca3eac17e355d1de508b1730dc854ed7712d
treee6ff69b637ecbdd1a047616d54e9f6b09ee7dd2f
parenta525c632144d3dcefe373916bdde789727d2230d
Associate camera and setup/finish_frame calls with View

... instead of Pipeline.  Having a Camera in the Pipeline but using the
Renderer's camera to override it for some things feels like a hack.

Pipeline gets to keep it's top-level render function for now.
source/pipeline.cpp
source/pipeline.h
source/view.cpp
source/view.h