EgtGraphics :

- Aggiunte due funzioni per ExportThreeJS.
This commit is contained in:
riccardo.elitropi
2022-08-22 17:46:43 +02:00
parent 5e317faba6
commit 8e986740fa
3 changed files with 27 additions and 1 deletions
+10
View File
@@ -170,4 +170,14 @@ Scene::DrawGrid( void)
glLineWidth( (float) GetLineWidth()) ;
return true ;
}
//----------------------------------------------------------------------------
void
Scene::GetGridParam(double* pdSnapStep, int* pnExtStep) const
{
if ( pdSnapStep != nullptr)
*pdSnapStep = m_dSnapStep ;
if ( pnExtStep != nullptr)
*pnExtStep = m_nExtSstep ;
}