Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 3, 2005, 10:51:47 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: now the text is really placed on top of a given world-entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/lib/graphics/font/glfont.cc

    r3715 r3716  
    5555#include <string.h>
    5656
     57#include "graphics_engine.h"
    5758#include "p_node.h"
    5859#include "vector.h"
     
    272273      printf("test %f %f %f,\n", tmp[0], tmp[1], tmp[2]);
    273274      pos.x = tmp[0];
    274       pos.y = tmp[1];
     275      pos.y = GraphicsEngine::getInstance()->getResolutionY() - tmp[1];
    275276      pos.z = tmp[2];
    276277    }
Note: See TracChangeset for help on using the changeset viewer.