mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
cleanup
This commit is contained in:
parent
95721a6864
commit
5f76e72748
18 changed files with 44 additions and 44 deletions
|
|
@ -210,11 +210,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