diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2008-12-01 12:18:48 +0100 |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2008-12-01 12:18:48 +0100 |
commit | 7604e6245747cdd64070e379774cc630fa0cb01f (patch) | |
tree | 5e2405d5e932cc63dbc70e2c2b5c200aa3cd241c /modelitem.cpp | |
parent | e6e8c04114373e9ecacfdccd496e7503ed1046a1 (diff) |
Improve field of view, 90 degrees was a bit high.
Diffstat (limited to 'modelitem.cpp')
-rw-r--r-- | modelitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modelitem.cpp b/modelitem.cpp index 7f081e4..b10c8d0 100644 --- a/modelitem.cpp +++ b/modelitem.cpp @@ -50,7 +50,7 @@ void ModelItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidg if (!m_model) return; - Matrix4x4 projectionMatrix = Matrix4x4::fromProjection(1); + Matrix4x4 projectionMatrix = Matrix4x4::fromProjection(70); projectionMatrix *= Matrix4x4::fromQTransform(painter->transform()); Matrix4x4 modelMatrix; |