added rendering a triangle for testing purposes