]> git.mxchange.org Git - simgear.git/commitdiff
warning fix, unused code
authortorsten <torsten>
Thu, 20 Aug 2009 11:02:00 +0000 (11:02 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 23 Aug 2009 19:37:02 +0000 (21:37 +0200)
simgear/scene/model/SGClipGroup.cxx

index 38c09117849712e99482fefc38cf73c6bbca7095..758a5b6a197de8166918c11499a38770324ecd71 100644 (file)
@@ -98,11 +98,13 @@ public:
   }
 };
 
+#if 0
 static osg::Vec4d clipPlane(const osg::Vec2& p0, const osg::Vec2& p1)
 {
   osg::Vec2d v(p1[0] - p0[0], p1[1] - p0[1]);
   return osg::Vec4d(v[1], -v[0], 0, v[0]*p0[1] - v[1]*p0[0]);
 }
+#endif
 
 SGClipGroup::SGClipGroup()
 {