coding style/readability fixes
This commit is contained in:
committed by
GitHub
parent
252c28d516
commit
ca5ce00783
@@ -43,9 +43,10 @@ namespace osgAnimation
|
||||
AnimationList& getAnimationList() { return _animations;}
|
||||
|
||||
//uniformisation of the API
|
||||
inline Animation * getRegisteredAnimation(unsigned int i){return _animations[i].get();}
|
||||
inline unsigned int getNumRegisteredAnimations()const{return _animations.size();}
|
||||
inline void addRegisteredAnimation(Animation* animation){
|
||||
inline Animation * getRegisteredAnimation(unsigned int i) { return _animations[i].get();}
|
||||
inline unsigned int getNumRegisteredAnimations() const { return _animations.size();}
|
||||
inline void addRegisteredAnimation(Animation* animation)
|
||||
{
|
||||
_needToLink = true;
|
||||
_animations.push_back(animation);
|
||||
buildTargetReference();
|
||||
@@ -59,7 +60,6 @@ namespace osgAnimation
|
||||
this Operation must be done each frame */
|
||||
void clearTargets();
|
||||
|
||||
|
||||
LinkVisitor* getOrCreateLinkVisitor();
|
||||
void setLinkVisitor(LinkVisitor*);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user