Use this for 3D projects, it is a more consistent method with multiple triangles. more or less the same best-case speed and better average and MUCH better worst-case speeds. krypto feel free to microoptimise this and then i will recommend that version