OK, I should have said that the demo doesn't actually use the PickedTriangle/TriangleVertex method I mentioned. :)
Rather, it works by attaching a 3D point 'handle' to each vert - I just thought this method might be more useful if you're writing a mesh editor.
Rather, it works by attaching a 3D point 'handle' to each vert - I just thought this method might be more useful if you're writing a mesh editor.