Getting absolute value of a transformed point coordinate

This almost worked:

ofMatrix4x4 mat;
mat = ofGetCurrentRenderer()->getCurrentMatrix(OF_MATRIX_MODELVIEW);

But the end result is wrong :frowning:

I solved using the previous advice:

ofMatrix4x4 m = ofMatrix4x4::newTranslationMatrix(-basePos);
m *= ofMatrix4x4::newRotationMatrix(ofRadToDeg(angle), 0, 0, 1);
m *= ofMatrix4x4::newTranslationMatrix(basePos);

ofPoint absolutePos = myPos * m;

ofPushMatrix();
	ofMultMatrix(m);
	ofDrawCircle(myPos, 20);
ofPopMatrix();

ofDrawCircle(absolutePos, 20);