Updated triangle rasterization for simple parameter checking.