int face_idx = ImPlane3D_XY + 3 * active_faces[ImPlane3D_XY]; ImVec2 p0 = corners_pix[faces[face_idx][0]]; ImVec2 p1 = corners_pix[faces[face_idx][1]]; ImVec2 p2 ...
Inspired by Jan Schaffranek the Instructor of Interactive GUI with C++ and ImGui: Hands-On Projects course on udemy. Here goes the link to Prof. Jan Schaffranek repo ...