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

ofSetRectMode persists even after popping matrix

$
0
0

push/pop matrix only store and pop the current transformation matrix, which you can change with ofTranslate/Rotate/Scale or with ofLoadMatrix and ofMultMatrix but nothing else. Any other global state like ofSetRectMode is usually stored by using ofPush/PopStyle or just by setting it back to whatever is the original value manually


Viewing all articles
Browse latest Browse all 40524

Trending Articles



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