comparison Framework/Widgets/TestWorldSceneWidget.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 d2adc6189a95
children 53025eecbc95
comparison
equal deleted inserted replaced
108:37d4ae7052a5 109:53bd9277b025
116 { 116 {
117 SetInteractor(*interactor_); 117 SetInteractor(*interactor_);
118 } 118 }
119 119
120 120
121 void TestWorldSceneWidget::GetSceneExtent(double& x1, 121 Extent TestWorldSceneWidget::GetSceneExtent()
122 double& y1,
123 double& x2,
124 double& y2)
125 { 122 {
126 x1 = -10; 123 return Extent(-10, -.5, 10, .5);
127 x2 = 10;
128 y1 = -.5;
129 y2 = .5;
130 } 124 }
131 125
132 126
133 void TestWorldSceneWidget::UpdateContent() 127 void TestWorldSceneWidget::UpdateContent()
134 { 128 {