mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Ecs changes
- BitArray has always at least sizeof(uint) bits - Renamed Entity to EcsEntity - Added value parameter to EcsWorld.AssignComponent - Matched EcsWorld generic parameters - Added Scene - Added Entity
This commit is contained in:
@@ -18,6 +18,11 @@ namespace GlitchyEngine.Math
|
||||
|
||||
public this(int initialCapacity = sizeof(uint))
|
||||
{
|
||||
var initialCapacity;
|
||||
|
||||
if (initialCapacity < sizeof(uint))
|
||||
initialCapacity = sizeof(uint);
|
||||
|
||||
EnsureCapacity(initialCapacity);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user