forked from Dynamitos/Seele
Implementing ECS SystemBase and updating slang
This commit is contained in:
1 parent
05bc31a2b4
commit
f635ee2100
106 files changed
+1083
-1675
No files matched your search
@@ -679,6 +679,16 @@ public:
|
||||
beginIt = iterator(_data);
|
||||
endIt = iterator(_data + N);
|
||||
}
|
||||
StaticArray(std::initializer_list<T> init)
|
||||
{
|
||||
assert(init.size() == N);
|
||||
auto beg = init.begin();
|
||||
for (int i = 0; i < N; ++i)
|
||||
{
|
||||
_data[i] = *beg;
|
||||
beg++;
|
||||
}
|
||||
}
|
||||
~StaticArray()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user