From bae9d0453a63e33829b6623385d11db7e4cc0bfd Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Sat, 8 Apr 2023 17:15:57 +0200 Subject: [PATCH] add rotation --- src/MsdfLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MsdfLayer.cpp b/src/MsdfLayer.cpp index 60541c7..643fbaf 100644 --- a/src/MsdfLayer.cpp +++ b/src/MsdfLayer.cpp @@ -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();