From e65f41b7c98c848b5a30486d69dd474bb9463715 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sun, 9 Oct 2011 13:41:51 +0800 Subject: [PATCH] --- scene.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) 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