PDA

View Full Version : How do I determinate bounding box???



vladxky
11-20-2001, 05:30 AM
Hi everybody,

Could some OpenGL guru answer me the following question:

I have defined some points in display list (f.e. using glVertex). How do I determinate the bounding box of these points? f.e. in Win32 API there is the following function GetRgnBox() which returns bounding box of defined region. Is there something like this in OpenGL or some high-level API? What is the common way to do this task??

Thanks a lot in advance,
Vlad.