From d09943cbb80329196956632c03339079541bfb43 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sun, 1 Jun 2014 12:11:35 +0200 Subject: [PATCH] Fix wrong include guard (identified by clang) --- simgear/canvas/CanvasObjectPlacement.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/simgear/canvas/CanvasObjectPlacement.hxx b/simgear/canvas/CanvasObjectPlacement.hxx index 40c0550a..d2e2bee7 100644 --- a/simgear/canvas/CanvasObjectPlacement.hxx +++ b/simgear/canvas/CanvasObjectPlacement.hxx @@ -1,4 +1,4 @@ -// Canvas placement for placing a canvas texture onto osg objects. +///@file Placement for putting a canvas texture onto OpenSceneGraph objects. // // It also provides a SGPickCallback for passing mouse events to the canvas and // manages emissive lighting of the placed canvas. @@ -19,7 +19,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA -#ifndef CANVAS_PICK_PLACEMENT_HXX_ +#ifndef CANVAS_OBJECT_PLACEMENT_HXX_ #define CANVAS_OBJECT_PLACEMENT_HXX_ #include "CanvasPlacement.hxx" @@ -33,6 +33,9 @@ namespace simgear namespace canvas { + /** + * Place a Canvas onto an osg object (as texture). + */ class ObjectPlacement: public Placement { @@ -72,4 +75,4 @@ namespace canvas } // namespace canvas } // namespace simgear -#endif /* CANVAS_PICK_PLACEMENT_HXX_ */ +#endif /* CANVAS_OBJECT_PLACEMENT_HXX_ */ -- 2.39.5