Files
Seele/src/Engine/System/MeshUpdater.cpp
T

15 lines
328 B
C++
Raw Normal View History

2023-10-24 15:01:09 +02:00
#include "MeshUpdater.h"
using namespace Seele;
using namespace Seele::System;
2023-10-26 18:37:29 +02:00
MeshUpdater::MeshUpdater(PScene scene)
: ComponentSystem<Component::Transform, Component::Mesh>(scene)
{
}
2023-10-24 15:01:09 +02:00
void MeshUpdater::update(Component::Transform& transform, Component::Mesh& mesh)
{
mesh.vertexData->updateMesh(transform, mesh);
}