@@ -47,11 +47,15 @@ class ofxAssimpModelLoader{
4747 bool load (std::string modelName, int assimpOptimizeFlags=OPTIMIZE_DEFAULT);
4848 bool load (ofBuffer & buffer, int assimpOptimizeFlags=OPTIMIZE_DEFAULT, const char * extension=" " );
4949
50- OF_DEPRECATED_MSG (" ofxAssimpModelLoader::load(std::string modelName, bool bOptimize) is deprecated, use load(std::string modelName, int assimpOptimizeFlags) instead." , bool load (std::string modelName, bool optimize));
51- OF_DEPRECATED_MSG (" ofxAssimpModelLoader::load(ofBuffer & buffer, bool optimize=false, const char * extension=" " ) is deprecated, use load(std::string modelName, int assimpOptimizeFlags) instead." , bool load (ofBuffer & buffer, bool optimize, const char * extension));
50+ [[deprecated(" use load(std::string modelName, int assimpOptimizeFlags)" )]]
51+ bool load (std::string modelName, bool optimize);
52+ [[deprecated(" use load(std::string modelName, int assimpOptimizeFlags)" )]]
53+ bool load (ofBuffer & buffer, bool optimize, const char * extension);
5254
53- OF_DEPRECATED_MSG (" ofxAssimpModelLoader::loadModel() is deprecated, use load() instead." , bool loadModel (std::string modelName, bool optimize=false ));
54- OF_DEPRECATED_MSG (" ofxAssimpModelLoader::loadModel() is deprecated, use load() instead." , bool loadModel (ofBuffer & buffer, bool optimize=false , const char * extension=" " ));
55+ [[deprecated(" use load()" )]]
56+ bool loadModel (std::string modelName, bool optimize=false );
57+ [[deprecated(" use load()" )]]
58+ bool loadModel (ofBuffer & buffer, bool optimize=false , const char * extension=" " );
5559
5660 void createEmptyModel ();
5761 void createLightsFromAiModel ();
@@ -72,10 +76,14 @@ class ofxAssimpModelLoader{
7276 void setPausedForAllAnimations (bool pause);
7377 void setLoopStateForAllAnimations (ofLoopType state);
7478 void setPositionForAllAnimations (float position);
75- OF_DEPRECATED_MSG (" Use ofxAssimpAnimation instead" , void setAnimation (int animationIndex));
76- OF_DEPRECATED_MSG (" Use ofxAssimpAnimation instead" , void setNormalizedTime (float time));
77- OF_DEPRECATED_MSG (" Use ofxAssimpAnimation instead" , void setTime (float time));
78- OF_DEPRECATED_MSG (" Use ofxAssimpAnimation instead" , float getDuration (int animationIndex));
79+ [[deprecated(" Use ofxAssimpAnimation" )]]
80+ void setAnimation (int animationIndex);
81+ [[deprecated(" Use ofxAssimpAnimation" )]]
82+ void setNormalizedTime (float time);
83+ [[deprecated(" Use ofxAssimpAnimation" )]]
84+ void setTime (float time);
85+ [[deprecated(" Use ofxAssimpAnimation" )]]
86+ float getDuration (int animationIndex);
7987
8088 bool hasMeshes ();
8189 unsigned int getMeshCount ();
0 commit comments