]> git.tdb.fi Git - libs/game.git/commit
Further refactor Renderer and MeshRenderer
authorMikko Rasa <tdb@tdb.fi>
Sat, 28 Jan 2023 12:38:59 +0000 (14:38 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 28 Jan 2023 13:56:54 +0000 (15:56 +0200)
commita3f817895ae31e181211798a34896063ecd8fe29
treeeac0ba737be236e69b7fe3f5fcae7034103af842
parentd1ce8ca2ecced047eb515ebdf98b85bf166725ee
Further refactor Renderer and MeshRenderer

The ObjectInstance is now hidden inside MeshRenderer and RAII is used to
remove it from the scene.  This limits the instance to being in only a
single scene, but I don't think that will be an issue.
source/gameview/meshrenderer.cpp
source/gameview/meshrenderer.h
source/gameview/renderer.cpp
source/gameview/renderer.h