]> git.tdb.fi Git - libs/math.git/blobdiff - source/geometry/union.h
Comment tweaks
[libs/math.git] / source / geometry / union.h
index 8461f8484ee5d085560b6fb70f522447d9a95c6e..a1562cb4e6b458b55003d981b5898c0c7ded2f25 100644 (file)
@@ -6,9 +6,6 @@
 namespace Msp {
 namespace Geometry {
 
-/**
-Joins component shapes together into one.
-*/
 template<typename T, unsigned D>
 struct UnionOps
 {
@@ -20,6 +17,9 @@ struct UnionOps
        static bool combine_surface(bool a, bool b) { return a && !b; }
 };
 
+/**
+Joins component shapes together into one.
+*/
 template<typename T, unsigned D>
 class Union: public CompositeShape<T, D, UnionOps<T, D> >
 {