Adds handling of points and triangle drawing.