mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Merge branch 'main' into debugging-client
This commit is contained in:
commit
091542da39
32 changed files with 220 additions and 166 deletions
|
|
@ -211,11 +211,11 @@ void Container::clear() {
|
|||
refresh();
|
||||
}
|
||||
|
||||
void Container::listenInterval(float interval, ontimeout callback, int repeat) {
|
||||
void Container::listenInterval(float interval, OnTimeOut callback, int repeat) {
|
||||
intervalEvents.push_back({std::move(callback), interval, 0.0f, repeat});
|
||||
}
|
||||
|
||||
void Container::setSize(glm::vec2 size) {
|
||||
void Container::setSize(const glm::vec2& size) {
|
||||
if (size == getSize()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue