From: torsten Date: Thu, 20 Aug 2009 11:02:00 +0000 (+0000) Subject: warning fix, unused code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15c1a28d37b8bfb2dd7546c40fff73b0b9492e9d;p=simgear.git warning fix, unused code --- 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() {