Fix indentation

This commit is contained in:
Maxime Gimeno 2018-04-17 17:53:57 +02:00 committed by Laurent Rineau
parent feef087fed
commit 4cefdef103
2 changed files with 2 additions and 4 deletions

View File

@ -383,7 +383,7 @@ const char* Volume_plane<T>::fragmentShader_bordures_source =
template<typename T>
Volume_plane<T>::Volume_plane(float tx, float ty, float tz)
:Volume_plane_interface(new CGAL::qglviewer::ManipulatedFrame),
: Volume_plane_interface(new CGAL::qglviewer::ManipulatedFrame),
tx(tx), ty(ty), tz(tz)
{
const CGAL::qglviewer::Vec offset = static_cast<CGAL::Three::Viewer_interface*>(CGAL::QGLViewer::QGLViewerPool().first())->offset();

View File

@ -678,7 +678,6 @@ Scene_image_item::compute_bbox() const
if(!m_image)
_bbox = Bbox();
else
_bbox = Bbox(m_image->image()->tx,
m_image->image()->ty,
m_image->image()->tz,
@ -849,8 +848,7 @@ void Scene_image_item::changed()
void Scene_image_item_priv::draw_Bbox(Scene_item::Bbox bbox, std::vector<float> *vertices)
{
const CGAL::qglviewer::Vec offset = static_cast<CGAL::Three::Viewer_interface*>(CGAL::QGLViewer::QGLViewerPool().first())->offset();
const CGAL::qglviewer::Vec offset = static_cast<CGAL::Three::Viewer_interface*>(CGAL::QGLViewer::QGLViewerPool().first())->offset();
vertices->push_back(bbox.xmin()+offset.x);
vertices->push_back(bbox.ymin()+offset.y);
vertices->push_back(bbox.zmin()+offset.z);