comparison Framework/Widgets/WorldSceneWidget.cpp @ 109:53bd9277b025 wasm

using the Extent class
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Jun 2017 15:34:08 +0200
parents 81f73efd81a1
children 53025eecbc95
comparison
equal deleted inserted replaced
108:37d4ae7052a5 109:53bd9277b025
230 } 230 }
231 231
232 232
233 void WorldSceneWidget::SetSceneExtent(ViewportGeometry& view) 233 void WorldSceneWidget::SetSceneExtent(ViewportGeometry& view)
234 { 234 {
235 double x1, y1, x2, y2; 235 view.SetSceneExtent(GetSceneExtent());
236 GetSceneExtent(x1, y1, x2, y2);
237 view.SetSceneExtent(x1, y1, x2, y2);
238 } 236 }
239 237
240 238
241 void WorldSceneWidget::SetSize(unsigned int width, 239 void WorldSceneWidget::SetSize(unsigned int width,
242 unsigned int height) 240 unsigned int height)