update interface for gamenode3d

This commit is contained in:
Liam 2015-08-25 15:18:09 +08:00
parent 650a5c2318
commit c998639c30
2 changed files with 3 additions and 3 deletions

View File

@ -62,8 +62,8 @@ namespace cocostudio
return _instanceNode3DReader; return _instanceNode3DReader;
} }
static CameraBackgroundSkyBoxBrush* _sceneBrushInstance = nullptr; static CameraBackgroundBrush* _sceneBrushInstance = nullptr;
CameraBackgroundSkyBoxBrush* GameNode3DReader::getSceneBrushInstance() CameraBackgroundBrush* GameNode3DReader::getSceneBrushInstance()
{ {
return _sceneBrushInstance; return _sceneBrushInstance;
} }

View File

@ -47,7 +47,7 @@ namespace cocostudio
~GameNode3DReader(); ~GameNode3DReader();
static GameNode3DReader* getInstance(); static GameNode3DReader* getInstance();
static cocos2d::CameraBackgroundSkyBoxBrush* getSceneBrushInstance(); static cocos2d::CameraBackgroundBrush* getSceneBrushInstance();
/** @deprecated Use method destroyInstance() instead */ /** @deprecated Use method destroyInstance() instead */
CC_DEPRECATED_ATTRIBUTE static void purge(); CC_DEPRECATED_ATTRIBUTE static void purge();
static void destroyInstance(); static void destroyInstance();