Determine if two triangles overlap: Difference between revisions
Determine if two triangles overlap (view source)
Revision as of 21:34, 25 January 2021
, 3 years ago→{{header|Phix}}: IupCloseOnEscape no longer needed
m (→{{header|Phix}}: IupCloseOnEscape no longer needed) |
|||
Line 4,093:
IupSetAttribute(dlg, "TITLE", "Triangle overlap")
IupSetCallback(canvas, "ACTION", Icallback("redraw_cb"))
IupSetAttribute(canvas, "RASTERSIZE", NULL)▼
IupShowXY(dlg,IUP_CENTER,IUP_CENTER)
▲ IupSetAttribute(canvas, "RASTERSIZE", NULL)
IupMainLoop()
IupClose()
|