Constitutive behaviour of quasi-brittle materials with anisotropic friction