summaryrefslogtreecommitdiff
path: root/common/preview.cpp
diff options
context:
space:
mode:
authorleo2006-02-18 07:50:38 +0000
committerleo2006-02-18 07:50:38 +0000
commit15c15473f6116d20f8829409e30ce20ecf0946f5 (patch)
tree85fd8304e545eb1e39fa2a095f6f3a38b2df8197 /common/preview.cpp
parentd86d3bd7a9c80603937a5b401b0fd9601aaf1eb5 (diff)
Removed the Point3 class.
git-svn-id: http://svn.leocad.org/trunk@483 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/preview.cpp')
-rw-r--r--common/preview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/preview.cpp b/common/preview.cpp
index 82d16f6..c6c54ea 100644
--- a/common/preview.cpp
+++ b/common/preview.cpp
@@ -52,14 +52,14 @@ void PiecePreview::OnDraw()
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- Point3 Eye(0, 0, 1.0f);
+ Vector3 Eye(0, 0, 1.0f);
Matrix33 Rot;
Rot.CreateFromAxisAngle(Vector3(1, 0, 0), -m_RotateX * LC_DTOR);
- Eye = Eye * Rot;
+ Eye = Mul(Eye, Rot);
Rot.CreateFromAxisAngle(Vector3(0, 0, 1), -m_RotateZ * LC_DTOR);
- Eye = Eye * Rot;
+ Eye = Mul(Eye, Rot);
if (m_AutoZoom)
{