mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-11 22:53:35 +00:00
fixing UUID issue
This commit is contained in:
@@ -17,6 +17,12 @@ namespace Scop
|
||||
p_script->OnInit(this);
|
||||
}
|
||||
|
||||
Actor::Actor(std::uint64_t uuid, Model model) : m_model(std::move(model)), m_uuid(uuid)
|
||||
{
|
||||
if(p_script)
|
||||
p_script->OnInit(this);
|
||||
}
|
||||
|
||||
void Actor::Update(NonOwningPtr<Scene> scene, Inputs& input, float delta)
|
||||
{
|
||||
if(p_script)
|
||||
|
||||
Reference in New Issue
Block a user