Lent 1AC++] I want to have ModelData data as a parameter to my graphics function, but it won let me. How can I get the coordinate information into the graphics function?
– When GLUT (the graphics system that we use) needs to redraw a window it calls the function that you mentioned in the graphicsfunction call. That function has to accept exactly 2 integers, because that’s how GLUT calls it – the integers are the current width and height of the window. The way we suggest you get the data into the graphics routine isn’t generally recommended, but it works.
Related Questions
- Ive been using the IsNull function but it seems to be ignoring the second parameter (just returning True or False instead). Is this function supported and/or is there an alternative?
- Who will compile the data and coordinate the efforts for our community?
- Why are graphics and/or tabular data missing from some studies?