add rotation
This commit is contained in:
parent
5d52383aaa
commit
bae9d0453a
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ void MsdfLayer::drawCharacter(const char character,
|
||||||
shader->setUniform2f("translation_b", translation_b);
|
shader->setUniform2f("translation_b", translation_b);
|
||||||
shader->setUniform2f("scale_b", scale_b);
|
shader->setUniform2f("scale_b", scale_b);
|
||||||
shader->setUniform1f("msdf_mix", mix);
|
shader->setUniform1f("msdf_mix", mix);
|
||||||
//ofRotateDeg(rotation, 0, 0, 1);
|
ofRotateDeg(rotation, 0, 0, 1);
|
||||||
atlasImage.draw(0, 0, w * scale, h * scale);
|
atlasImage.draw(0, 0, w * scale, h * scale);
|
||||||
shader->end();
|
shader->end();
|
||||||
ofPopMatrix();
|
ofPopMatrix();
|
||||||
|
|
Loading…
Reference in a new issue