Simple picking in 3D

Thought I'd post this little hack. I picked up the Terzidis book Algorithms for Visual Design (using Processing) and found a version of my own ...