changed way wireframe is drawn
works, but returns opposite of correct value?