Determine the direction a face is pointing

See solution here