diff options
author | Ian Romanick <idr@freedesktop.org> | 2010-10-03 10:16:36 -0700 |
---|---|---|
committer | Ian Romanick <idr@freedesktop.org> | 2010-10-03 10:19:40 -0700 |
commit | a983be5d98e95a052505a9f5d05f781ee7f0b5f3 (patch) | |
tree | 4729c73efe4e6e4a0ed5cba9b2b9dd2244037851 | |
parent | 1539a63122d9dc2b66681775ac6d9c7434679c89 (diff) |
GLUshape: Add missing implementation of GLUshapeProducer::orientation
-rw-r--r-- | include/glu3.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/glu3.h b/include/glu3.h index e97e477..4262d6e 100644 --- a/include/glu3.h +++ b/include/glu3.h @@ -388,7 +388,10 @@ public: * \param outside Set to true if normals should point towards the * outside of the object. */ - void orientation(bool outside); + inline void orientation(bool outside) + { + this->normals_point_out = outside; + } /** * Get the number of vertices in the shape |