Changeset 4850 in orxonox.OLD for orxonox/trunk/src/lib/graphics/text_engine.cc
- Timestamp:
- Jul 13, 2005, 7:23:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/text_engine.cc
r4836 r4850 74 74 { 75 75 TextEngine::getInstance()->deleteText(this); 76 }77 78 /**79 * tells the Text, that it should folow a PNode80 * @param bindNode: the node to bind this text to81 */82 void Text::setBindNode(PNode* bindNode)83 {84 this->bindNode = bindNode;85 76 } 86 77 … … 185 176 186 177 /** 187 * draws the Font178 * draws the Text 188 179 */ 189 180 void Text::draw() const … … 217 208 // setting the Blending effects 218 209 glColor4f(1.0f,1.0f,1.0f, this->blending); 210 glEnable(GL_BLEND); 211 glEnable(GL_TEXTURE_2D); 219 212 glBlendFunc(GL_SRC_ALPHA, GL_ONE); 220 213
Note: See TracChangeset
for help on using the changeset viewer.