irrlicht as singleton
public cpp v1 · immutable#define graphics CGraphics::Instance()#define pIrrlicht CGraphics::Instance()->getIrrlicht()#define pSmgr CGraphics::Instance()->getIrrlicht()->getSceneManager()#define pGuienv CGraphics::Instance()->getIrrlicht()->getGUIEnvironment()#define pFsystem CGraphics::Instance()->getIrrlicht()->getFileSystem#define pDriver CGraphics::Instance()->getIrrlicht()->getVideoDriver()