Working on assets

This commit is contained in:
YourWishes committed 2022-12-01 22:37:42 -08:00
1 parent 7f60b58b9d
commit 695719a7f3
18 files changed
+355 -42

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
// Copyright (c) 2022 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "dawnlibs.hpp"
#include "assert/assert.hpp"
namespace Dawn {
template<typename T>
void vectorAppend(std::vector<T> *list, std::vector<T> *append) {
assertNotNull(list);
assertNotNull(append);
auto it = append->begin();
while(it != append->end()) {
list->push_back(*it);
++it;
}
}
}