OpenGL Super Bible! Page 75 auxReshapeFunc (Mac os x web server) Purpose Establishes

OpenGL Super Bible! Page 75 auxReshapeFunc Purpose Establishes a callback function to handle window dimension and size changes. Include File Syntax void auxReshapeFunc(AUXRESHAPEPROC func) Description This function is called to establish a callback function that the AUX library will call whenever the window size or shape changes. Typically this function modifies the viewport and clipping volume to perform image scaling. Parameters func This callback function is prototyped as void CALLBACK Reshape(GLsizei width, GLsizei height) This function receives the new width and height of the window. Returns None. Example See the SCALE example from this chapter. See Also auxIdleFunc, auxMainLoop
Note: In case you are looking for affordable webhost to host and run your web application check Vision http web server services

Leave a Reply