diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-08-28 16:42:47 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-08-28 16:42:47 +0000 |
commit | 3641a74507d692a7fbababfd8beb738f71e48acb (patch) | |
tree | 78d9235fe86ff2e958edb2cc2f777bbaade7607c /src/textparticle.h | |
parent | 55786731e0517efdc123d4e8245b2aa94fa55cbe (diff) | |
download | mana-3641a74507d692a7fbababfd8beb738f71e48acb.tar.gz mana-3641a74507d692a7fbababfd8beb738f71e48acb.tar.bz2 mana-3641a74507d692a7fbababfd8beb738f71e48acb.tar.xz mana-3641a74507d692a7fbababfd8beb738f71e48acb.zip |
Added Vector class and used it in the particle engine.
Diffstat (limited to 'src/textparticle.h')
-rw-r--r-- | src/textparticle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textparticle.h b/src/textparticle.h index 134405bb..34badb57 100644 --- a/src/textparticle.h +++ b/src/textparticle.h @@ -47,7 +47,7 @@ class TextParticle : public Particle // hack to improve text visibility virtual int getPixelY() const - { return (int) (mPosY + mPosZ); } + { return (int) (mPos.y + mPos.z); } private: std::string mText; /**< Text of the particle. */ |