Commit 823692f6 authored by Jan Möbius's avatar Jan Möbius

Typo



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16076 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 884c1b51
......@@ -466,7 +466,7 @@ void glViewer::setScenePos(const ACG::Vec3d& _center, double _radius, const bool
}
// Safety check. Make sure that they are in the right order
if ( near > farPlane ) {
if ( nearPlane > farPlane ) {
std::cerr << "Error in BaseViewer setScenePos, Nearplane > Farplane" << std::endl;
std::swap(nearPlane,farPlane);
}
......
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