Added viewpoint output
Fixed triangle leftmost/rightmost vertex detection