X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.h;h=b6e04547993f2e8707a24d5b492f1ebd4be3aa9c;hp=dc9245309dd1a511bc29bf3bfde6298b74ce1817;hb=9679e75a0bac57d3a2dc8602963c2ac4b94905b3;hpb=89e90cbd07402f824253fc0a4b2f1cd7e81b31e4 diff --git a/globals.h b/globals.h index dc92453..b6e0454 100644 --- a/globals.h +++ b/globals.h @@ -60,7 +60,8 @@ extern int drawFloorRecurse; extern int floorSize; /* Current camera position */ -extern GLfloat camx, camy, camz, rot; +extern GLfloat camx, camy, camz, keyrot; +extern GLfloat factor; /* Length of axis lines */ extern GLfloat lineLength; @@ -87,6 +88,7 @@ extern GLfloat specular[]; extern int width, height; /* Zoom and rotate tracking */ -GLfloat zoomFactor, rotateFactor; +extern GLfloat zoom, rotate; +extern GLfloat zoomFactor, rotateFactor; #endif /* GLOBALS_H */ \ No newline at end of file