From: Ash Tyndall Date: Sun, 9 Oct 2011 05:41:51 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e65f41b7c98c848b5a30486d69dd474bb9463715;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index c546975..0590299 100644 --- a/scene.c +++ b/scene.c @@ -460,6 +460,26 @@ void makeMenu() { glutAttachMenu(GLUT_RIGHT_BUTTON); } +/** + * Called when window is resized + * @param w New width + * @param h New height + */ +void windowReshape(int w, int h) { + +} + +/** + * Called when mouse event occurs + * @param btn Mouse button + * @param state State of mouse button + * @param x Mouse x position + * @param y Mouse y position + */ +void mouse(int btn, int state, int x, int y) { + +} + /** * Display function */ @@ -488,12 +508,15 @@ int main(int argc, char **argv) { for(int i=0; i