EgtGraphics 1.6b2 :

- spostato disegno griglia per modalità hiddenline.
This commit is contained in:
Dario Sassi
2015-02-11 11:43:54 +00:00
parent 85480b02b9
commit 7ffdfed121
5 changed files with 15 additions and 11 deletions
+3 -3
View File
@@ -15,8 +15,8 @@
#include "stdafx.h"
#include "Scene.h"
#include "EGrUtils.h"
#include <algorithm>
using namespace std ;
//----------------------------------------------------------------------------
@@ -33,7 +33,7 @@ bool
Scene::SetGridGeo( double dSnapStep, int nMinLineSstep, int nMajLineSstep, int nExtSstep)
{
const double MIN_SNAP_STEP = 0.1 ;
m_dSnapStep = max( fabs( dSnapStep), MIN_SNAP_STEP) ;
m_dSnapStep = std::max( fabs( dSnapStep), MIN_SNAP_STEP) ;
m_nMinLineSstep = abs( nMinLineSstep) ;
m_nMajLineSstep = abs( nMajLineSstep) ;
m_nExtSstep = abs( nExtSstep) ;