|
|
1.1 ! root 1: #include <jerq.h> ! 2: ptinrect(p, r) ! 3: Point p; ! 4: Rectangle r; ! 5: { ! 6: return(p.x>=r.origin.x && p.x<r.corner.x ! 7: && p.y>=r.origin.y && p.y<r.corner.y); ! 8: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.