If y=mx bisects the angle between the lines x2(tan2θ+cos2θ)+2xytanθ−y2sin2θ=0 when θ=π3 the value of m is