From 15c1a28d37b8bfb2dd7546c40fff73b0b9492e9d Mon Sep 17 00:00:00 2001 From: torsten Date: Thu, 20 Aug 2009 11:02:00 +0000 Subject: [PATCH] warning fix, unused code --- simgear/scene/model/SGClipGroup.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simgear/scene/model/SGClipGroup.cxx b/simgear/scene/model/SGClipGroup.cxx index 38c09117..758a5b6a 100644 --- a/simgear/scene/model/SGClipGroup.cxx +++ b/simgear/scene/model/SGClipGroup.cxx @@ -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() { -- 2.39.5