Added postRender() and Triangle class