From d6ed4c4d6da6e1ca21ce271a27bdde33189a21a0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 26 Nov 2014 16:00:18 +0000 Subject: [PATCH] Fixed warning git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14537 16af8721-9629-0410-8352-f15c8da7e697 --- src/osgPlugins/lwo/Object.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgPlugins/lwo/Object.cpp b/src/osgPlugins/lwo/Object.cpp index 20216a2df..00bb3ecf5 100644 --- a/src/osgPlugins/lwo/Object.cpp +++ b/src/osgPlugins/lwo/Object.cpp @@ -18,6 +18,7 @@ using namespace lwosg; namespace { +#if 0 bool triangle_is_clockwise(const osg::Vec3Array *points, int a, int b, int c) { const osg::Vec3 &A = (*points)[a]; @@ -29,6 +30,7 @@ namespace area2 += C.x() * A.y() - A.x() * C.y(); return area2 < 0; } +#endif float cylindrical_angle(float x, float y) {