BOUNCE IS an xyz-vector with a maximum of x/y/z= 1, as far as I know.
You could calculate angles first
vec_to_angle(temp, bounce);
and then
if(temp.pan < 90) && (temp.pan > -90)