Files
2021-06-16 01:23:59 +02:00

20 lines
397 B
C++

//
// Created by cbihan on 15/06/2021.
//
#include "ShaderModelSystem.hpp"
namespace BBM
{
ShaderModelSystem::ShaderModelSystem(WAL::Wal &wal)
: System(wal)
{
}
void ShaderModelSystem::onUpdate(WAL::ViewEntity<ShaderComponentModel> &entity, std::chrono::nanoseconds dtime)
{
auto &shader = entity->getComponent<ShaderComponentModel>();
shader.update(entity, this->_wal, dtime);
}
}