Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Creating a pointer to a vector of Images

$
0
0

You'd need to dereference the pointer to access the ofImages like so:

(*viewImages)[currentFrame].draw(0, 0);

Not really sure if changing this to be a vector of pointers to individual ofImages would be "better" or easier to read, but I think that's how I'd approach it. I have a feeling either way is just fine :smile:

cheers!


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>