summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@freedesktop.org>2010-04-19 10:34:11 -0700
committerIan Romanick <idr@freedesktop.org>2010-04-19 10:34:11 -0700
commit58f35e04080fcc26f5ed7f0c80f444597041a92b (patch)
treecc40ed5d29e268a4d9fe502b75ed4ededcb26093
parentf20617a66c98c6179b4afd8b40ed4a8283ecc27d (diff)
GLUshape: Remove GLUshapeProducer::normals interface
None of the existing shape producers support the per-polygon normals, and it will require quite a bit more code to support it. Until that code is written, just remove the interface.
-rw-r--r--include/glu3.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/glu3.h b/include/glu3.h
index 0039565..ea59c51 100644
--- a/include/glu3.h
+++ b/include/glu3.h
@@ -342,11 +342,6 @@ public:
void orientation(bool outside);
/**
- * Select per-vertex or per-polygon normals
- */
- void normals(bool per_vertex);
-
- /**
* Get the number of vertices in the shape
*
* This can be used in the constructor for derived classes, for
@@ -384,12 +379,11 @@ public:
protected:
GLUshapeProducer(void) :
- normals_point_out(true), normals_per_vertex(true)
+ normals_point_out(true)
{
}
bool normals_point_out;
- bool normals_per_vertex;
};