perform-ecs icon indicating copy to clipboard operation
perform-ecs copied to clipboard

What happens if there are more than 33 component types?

Open iRalph opened this issue 4 years ago • 0 comments

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.

iRalph avatar Aug 26 '20 06:08 iRalph