From: Ash Tyndall Date: Fri, 21 Oct 2011 12:07:00 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=36aa202c760cb524f105a465007983f224cb97e3;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index ccb5dac..31eff0e 100644 --- a/scene.c +++ b/scene.c @@ -206,6 +206,8 @@ void mouse(int button, int state, int x, int y) { } else if ( state == GLUT_UP ) { buttonSelected = -1; } + startx = x; + starty = y; break; } }