Changed the default behaviour of computeHomePosition so that it uses the bounding sphere of the model rather than computing the bounding box.

This commit is contained in:
Robert Osfield 2010-06-16 15:56:42 +00:00
parent 8ff46e1586
commit 751d7baf1c

View File

@ -40,7 +40,7 @@ class OSGGA_EXPORT StandardManipulator : public CameraManipulator
COMPUTE_HOME_USING_BBOX = 0x02,
PROCESS_MOUSE_WHEEL = 0x04,
SET_CENTER_ON_WHEEL_FORWARD_MOVEMENT = 0x08,
DEFAULT_SETTINGS = UPDATE_MODEL_SIZE | COMPUTE_HOME_USING_BBOX | PROCESS_MOUSE_WHEEL
DEFAULT_SETTINGS = UPDATE_MODEL_SIZE /*| COMPUTE_HOME_USING_BBOX*/ | PROCESS_MOUSE_WHEEL
};
StandardManipulator( int flags = DEFAULT_SETTINGS );