Commit 80e8afe8 authored by Dirk Wilden's avatar Dirk Wilden

fixed bug in ortho projection

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6707 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b5091eb1
......@@ -364,7 +364,7 @@ void glViewer::setScenePos(const ACG::Vec3d& _center, double _radius, const bool
scene_radius_ = trackball_radius_ = _radius;
orthoWidth_ = 2.0 * scene_radius_;
// orthoWidth_ = 2.0 * scene_radius_;
near_ = 0.001 * scene_radius_;
far_ = 10.0 * scene_radius_;
......
......@@ -67,7 +67,7 @@ bool glViewer::pick( ACG::SceneGraph::PickTarget _pickTarget,
// QTime time;
// time.start ();
int rv = pickColor (_pickTarget, _mousePos, _nodeIdx, _targetIdx, _hitPointPtr);
std::cerr << "ColorPicking: " << rv << std::endl;
// printf ("ColorPicking took %d msec\n",time.restart ());
// rv = -1;
// node = _nodeIdx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment