Identify Vertices

Blitz3D Forums/Blitz3D Programming/Identify Vertices

http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=284
this routine simply finds the closest verts to the fake light (a pivot).

Easily modified for your purpose.