Changed representation of Triangle

Closes https://github.com/PistonDevelopers/graphics/issues/575