FUCKING POINTERS
triangles are fucked