Is there a clever expression trick to test if a float vec3 is axial (i.e. two zero components) without using multiple equality tests?
At first I thought of if(abs(x)+abs(y)==0.0)
(pseudocode)... but of course each abs
call probably does a branch/equality test.
I thought of masking each float's bytes together and testing the result, but IEEE FP has both positive and negative 0.