global debug for polygon helpers
casting rays to barrel #123