Skip to content

Commit

Permalink
InstanceManager: Add getNumInstances method
Browse files Browse the repository at this point in the history
  • Loading branch information
satoruhiga committed Dec 22, 2014
1 parent d8c9f61 commit 231b21b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ofxAnimationPrimitives/InstanceManager.h
Expand Up @@ -371,6 +371,8 @@ class InstanceManager_

return result;
}

size_t getNumInstances() const { return instances.size(); }

UniformData& getUniform() { return uniform; }
const UniformData& getUniform() const { return uniform; }
Expand Down

0 comments on commit 231b21b

Please sign in to comment.