add rotation

This commit is contained in:
jrkb 2023-04-08 17:15:57 +02:00
parent 5d52383aaa
commit bae9d0453a

View file

@ -250,7 +250,7 @@ void MsdfLayer::drawCharacter(const char character,
shader->setUniform2f("translation_b", translation_b);
shader->setUniform2f("scale_b", scale_b);
shader->setUniform1f("msdf_mix", mix);
//ofRotateDeg(rotation, 0, 0, 1);
ofRotateDeg(rotation, 0, 0, 1);
atlasImage.draw(0, 0, w * scale, h * scale);
shader->end();
ofPopMatrix();