The mechanism of shear failure is actually tension in the concrete, and this tends to occur diagonally across a member. Nothing is precise in concrete, but we assume that diagonal tension causes cracking to occur at 45 degrees to the member axis. Yes, this applies to any member, regardless of the orientation. I suggest you consult a concrete design text. Any good text will have an illustration of what is assumed for shear crack orientation.