EgtGraphics :

- modifica GetgridParam.
This commit is contained in:
Riccardo Elitropi
2022-10-05 12:11:31 +02:00
parent f22863bff6
commit 9989ea95d7
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -200,10 +200,8 @@ Scene::DrawGrid( void)
//----------------------------------------------------------------------------
void
Scene::GetGridParam(double* pdSnapStep, int* pnExtStep) const
Scene::GetGridParam(double& dSnapStep, int& nExtStep) const
{
if ( pdSnapStep != nullptr)
*pdSnapStep = m_dSnapStep ;
if ( pnExtStep != nullptr)
*pnExtStep = m_nExtSstep ;
dSnapStep = m_dSnapStep ;
nExtStep = m_nExtSstep ;
}