Commit 6c799243 authored by Maire Nicolas's avatar Maire Nicolas

Fin de staaaaaaaaage !!!

parent 9e41c46e
...@@ -477,10 +477,10 @@ void Clipping::slot_pushButton_applyAnimatedClippingPreset() ...@@ -477,10 +477,10 @@ void Clipping::slot_pushButton_applyAnimatedClippingPreset()
Utils::ClippingPresetAnimatedDualPlanes *preset = NULL; Utils::ClippingPresetAnimatedDualPlanes *preset = NULL;
using namespace CGoGN::Utils::QT; using namespace CGoGN::Utils::QT;
float centerStartX = m_bb.center()[0] - m_bb.size(0)*0.25f; float centerStartX = m_bb.center()[0] - m_bb.size(0)*0.75f;
float centerStartY = m_bb.center()[1]; float centerStartY = m_bb.center()[1];
float centerStartZ = m_bb.center()[2]; float centerStartZ = m_bb.center()[2];
float centerEndX = m_bb.center()[0] + m_bb.size(0)*0.25f; float centerEndX = m_bb.center()[0] + m_bb.size(0)*0.75f;
float centerEndY = m_bb.center()[1]; float centerEndY = m_bb.center()[1];
float centerEndZ = m_bb.center()[2]; float centerEndZ = m_bb.center()[2];
float size = m_bb.maxSize()*0.1f; float size = m_bb.maxSize()*0.1f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment