View Full Version : Extent of construction
09-06-2008, 01:47 PM
I am looking for a way to determine the largest dimensions of my construction so that I can center it in the display window. BeginQuery and EndQuery looks like it might work, but it looks a little cumbersome. Is there another way?
09-06-2008, 01:54 PM
Compute the bounding box and center on it.
09-07-2008, 06:26 AM
this (http://opengl.org/resources/faq/technical/viewing.htm#view0070) may help you.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.