在函数声明过程设置默认值
bool loadOBJ( const char * path, samplePointSet* sample, TriangleSurface *surface, bool invert=true );
在函数定义中不写
bool loadOBJ( const char * path, samplePointSet* sample, TriangleSurface *surface, bool invert )
{
}
在函数声明过程设置默认值
bool loadOBJ( const char * path, samplePointSet* sample, TriangleSurface *surface, bool invert=true );
在函数定义中不写
bool loadOBJ( const char * path, samplePointSet* sample, TriangleSurface *surface, bool invert )
{
}