I have followed several tuts about picking and i have gotten the basics figured out, however i have come across a strange issue... My picking seems to stop working randomly. I'll click directly on a vertex i want to select and it will come back with 0 hits.
I tried upping my picking tolerance to 30 which seemed rather high and it still has issues.
Here is the relevant snippet, if anyone could point out any obvious bugs i'd appreciate it!
Here is the relevant code