Added a function to draw triangle
Added a swapi() function because, why not?
Merge remote-tracking branch 'jackyb/swrenderer'