I forgot bounds checking on the triangle. Oops.