diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-10-09 17:12:33 +0200 |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-10-09 17:13:55 +0200 |
commit | ebdaf49bf68dea42787af342c56a0ec636bec707 (patch) | |
tree | 6e9585b0524ea375e8f93c19d91b277bbe63bac9 /entity.cpp | |
parent | 434f6ac2e0f411c13690e91ed55b04f75442a096 (diff) |
Implemented hidden surface removal for projected items.
This speeds things up a bit by not painting walls / items that are
completely hidden behind other walls.
Diffstat (limited to 'entity.cpp')
-rw-r--r-- | entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ const QImage toAlpha(const QImage &image) } Entity::Entity(const QPointF &pos) - : ProjectedItem(QRectF(-0.3, -0.4, 0.6, 0.9), false) + : ProjectedItem(QRectF(-0.3, -0.4, 0.6, 0.9), false, false) , m_pos(pos) , m_angle(180) , m_walking(false) |