maintenance: opengl and generic gfx class source files split

This commit is contained in:
tmj-fstate
2019-10-14 21:59:01 +02:00
parent 53a176de2f
commit 59df08dbee
28 changed files with 5350 additions and 5178 deletions

View File

@@ -14,6 +14,7 @@ http://mozilla.org/MPL/2.0/.
#include "Globals.h"
#include "application.h"
#include "simulation.h"
#include "MemCell.h"
#include "Camera.h"
#include "AnimModel.h"
#include "renderer.h"
@@ -149,8 +150,8 @@ basic_editor::rotate( scene::basic_node *Node, glm::vec3 const &Angle, float con
// rotate entire group
// TODO: contextual switch between group and item rotation
// TODO: translation of affected/relevant events
auto const rotationcenter { Node->location() };
auto &nodegroup { scene::Groups.group( Node->group() ).nodes };
auto const &rotationcenter { Node->location() };
auto const &nodegroup { scene::Groups.group( Node->group() ).nodes };
std::for_each(
std::begin( nodegroup ), std::end( nodegroup ),
[&]( auto *node ) {