]> git.tdb.fi Git - libs/gl.git/commit
Pass the Renderer to ObjectInstance::get_level_of_detail
authorMikko Rasa <tdb@tdb.fi>
Sun, 26 Aug 2012 21:38:08 +0000 (00:38 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 26 Aug 2012 21:38:08 +0000 (00:38 +0300)
commite45ade69a77f7ba91b47bebad604ae29b5705b21
treeb592ca0b8626ccca43133bfbe60e6b3499ecd32d
parentafd625b06702e7a25e0730601f03955832b64e65
Pass the Renderer to ObjectInstance::get_level_of_detail

As I recall, the camera was put in renderer to allow view-dependent
rendering without the need to pass data outside the rendering pipeline.
This is one of the cases where it is needed.
source/object.cpp
source/objectinstance.h