void cOSG::InitOSG(std::string modelname) { // Store the name of the model to load m_ModelName = modelname; // Init different parts of OSG InitManipulators(); InitSceneGraph(); InitCameraConfig(); }
bool cOSG::InitOSG(std::string modelname) { bErrModel = false; // Store the name of the model to load m_ModelName = modelname; // Init different parts of OSG InitManipulators(); if(!InitSceneGraph()) return false; InitCameraConfig(); return true; }