I have a part of code that contains the following functions:
void Keyboard(int key) { switch (key) { case GLFW_KEY_A: m_controlState |= TDC_LEFT; bre
These are bitwise AND and OR operations. The lines you mentioned are equivalent to:
m_controlState = m_controlState | TDC_LEFT; m_controlState = m_controlState & ~TDC_LEFT