Fixes in triangle lib for VS2012
Added Visual Studio 2012 example projects