drawTriangle() working