kylemcdonald / ofxCv

Alternative approach to interfacing with OpenCv from openFrameworks.
Other
657 stars 276 forks source link

Removed applyMatrix in favour of ofMultMatrix #250

Open mimetikxs opened 6 years ago

mimetikxs commented 6 years ago

ofxCv::applyMatrix does not work with programmable renderer. glMultMatrixf assumes fixed pipeline and won't pass the matrix to the shader.

I've removed this helper and updated the code to use ofMultMatrix instead.

kylemcdonald commented 5 years ago

thanks! there might be other code that uses applyMatrix, so it would be better to replace the implementation of applyMatrix with ofMultMatrix(makeMatrix(boardRotations[i], boardTranslations[i]));