EgtGraphics 1.6v7 :
- migliorie varie per overload e const - aggiunta GetPlaneSnapPoint.
This commit is contained in:
+6
-6
@@ -273,7 +273,7 @@ Scene::ChooseGenPixelFormat( int nPfd, bool b2Buff, int nColorBits, int nDepthBi
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::MakeCurrent( void)
|
||||
Scene::MakeCurrent( void) const
|
||||
{
|
||||
// se RC della scena non è definito, errore
|
||||
if ( m_hRC == nullptr)
|
||||
@@ -289,7 +289,7 @@ Scene::MakeCurrent( void)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
string
|
||||
Scene::GetOpenGLInfo( void)
|
||||
Scene::GetOpenGLInfo( void) const
|
||||
{
|
||||
string sInfo = "OpenGL " ;
|
||||
|
||||
@@ -316,7 +316,7 @@ Scene::GetOpenGLInfo( void)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
string
|
||||
Scene::GetGLSLInfo( void)
|
||||
Scene::GetGLSLInfo( void) const
|
||||
{
|
||||
string sInfo = "GLSL " ;
|
||||
|
||||
@@ -338,7 +338,7 @@ Scene::GetGLSLInfo( void)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
string
|
||||
Scene::GetPixelFormatInfo( void)
|
||||
Scene::GetPixelFormatInfo( void) const
|
||||
{
|
||||
string sInfo = "PixFmt " ;
|
||||
|
||||
@@ -819,7 +819,7 @@ Scene::Draw( void)
|
||||
|
||||
/*------------------------------------------------------------------------------------------*/
|
||||
bool
|
||||
Scene::Project( const Point3d& ptWorld, Point3d& ptView)
|
||||
Scene::Project( const Point3d& ptWorld, Point3d& ptView) const
|
||||
{
|
||||
if ( ! MakeCurrent())
|
||||
return false ;
|
||||
@@ -845,7 +845,7 @@ Scene::Project( const Point3d& ptWorld, Point3d& ptView)
|
||||
|
||||
/*------------------------------------------------------------------------------------------*/
|
||||
bool
|
||||
Scene::UnProject( const Point3d& ptView, Point3d& ptWorld)
|
||||
Scene::UnProject( const Point3d& ptView, Point3d& ptWorld) const
|
||||
{
|
||||
if ( ! MakeCurrent())
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user