summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/glu3.h5
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