Changeset 2377 for trunk


Ignore:
Timestamp:
Feb 7, 2013, 2:21:18 PM (7 years ago)
Author:
Jnat
Message:

added GetPos method to get text position

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/text.cpp

    r2216 r2377  
    7676}
    7777
     78
     79vec3 Text::GetPos()
     80{
     81    return (vec3)data->pos;
     82}
     83
    7884void Text::SetAlign(int align)
    7985{
  • trunk/src/text.h

    r2216 r2377  
    3333    void SetInt(int val);
    3434    void SetPos(vec3 pos);
     35    vec3 GetPos();
    3536    void SetAlign(int align);
    3637
Note: See TracChangeset for help on using the changeset viewer.