Refactoring graphics
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
using namespace Seele;
|
||||
using namespace Seele::System;
|
||||
|
||||
MeshUpdater::MeshUpdater(PScene scene)
|
||||
: ComponentSystem<Component::Transform, Component::Mesh>(scene)
|
||||
{
|
||||
}
|
||||
|
||||
void MeshUpdater::update(Component::Transform& transform, Component::Mesh& mesh)
|
||||
{
|
||||
mesh.vertexData->updateMesh(transform, mesh);
|
||||
|
||||
Reference in New Issue
Block a user