From 56848b0cc53cc6b241920a245aa64d636cceb463 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Fri, 25 Sep 2009 13:59:59 -0700 Subject: Fix the hit testing so the regions line up with the icons. --- res/raw/rollo.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'res') diff --git a/res/raw/rollo.c b/res/raw/rollo.c index 59862bca4..0844c97e0 100644 --- a/res/raw/rollo.c +++ b/res/raw/rollo.c @@ -363,10 +363,27 @@ main(int launchID) draw_page(icon, lastIcon, -pageAngle*currentPagePosition, scale); draw_page(icon+iconsPerPage, lastIcon, (-pageAngle*currentPagePosition)+pageAngle, scale); + // Draw the border lines for debugging ======================================== + /* + bindProgramVertex(NAMED_PVOrtho); + bindProgramFragment(NAMED_PFOrtho); + bindProgramFragmentStore(NAMED_PFSText); + + color(1.0f, 1.0f, 0.0f, 0.99f); + int i; + for (i=0; i