diff --git a/src/gpufont/font.hpp b/src/gpufont/font.hpp index d2f4ddd..8e126a2 100644 --- a/src/gpufont/font.hpp +++ b/src/gpufont/font.hpp @@ -870,7 +870,7 @@ class Font { } - void collectVerticesAndIndices(const glm::vec3 & position, + void collectVerticesAndIndices(const ofNode & node, const std::vector & variationText, std::vector & vertices, std::vector & indices, @@ -879,11 +879,6 @@ class Font { float advanceX = 0; float advanceY = 0; - float degree = ofMap(sin(ofGetElapsedTimef()), -1, 1, 0, 90); - ofNode node; - node.rotateDeg(degree, glm::vec3(0, 0, 1)); - node.move(position); - FT_UInt previous = 0; for(const GlyphIdentity & glyphIdentity : variationText){ if(glyphIdentity.charcode == '\0'){