mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Added delay and image selection to CloneSource
This commit is contained in:
11
Source.cpp
11
Source.cpp
@@ -649,6 +649,17 @@ void Source::call(SourceCallback *callback, bool override)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
CloneSource *Source::clone(uint64_t id)
|
||||
{
|
||||
CloneSource *s = new CloneSource(this, id);
|
||||
|
||||
clones_.push_back(s);
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
void Source::update(float dt)
|
||||
{
|
||||
// keep delta-t
|
||||
|
||||
Reference in New Issue
Block a user