I am reading a tutorial in objective - C but it uses some things of C / C++. I've this line of code:
static const uint32_t projectileCategory = 0x1 << 1;
So I want to know why does the variable equals 2 and if I can write it as
static const uint32_t projectileCategory = 0x2;
Thank you!