perform-ecs
perform-ecs copied to clipboard
What happens if there are more than 33 component types?
Suppose there are 34 component types, two of which have an id of 1
and another id of 33
. You may get the wrong result when calling the componentHashHasComponent
method in "ComponentGroupHash.ts", as bit_set(0, 1) === bit_set(0, 33)
is true.