]> git.tdb.fi Git - libs/math.git/blobdiff - source/geometry/intersection.h
Comment tweaks
[libs/math.git] / source / geometry / intersection.h
index 01707cdfc64274a79317179fc3faa96348c3c591..7d21f75f81c081e87aeb783710a56aab7fe6207e 100644 (file)
@@ -6,9 +6,6 @@
 namespace Msp {
 namespace Geometry {
 
-/**
-Forms a shape from the common parts of component shapes.
-*/
 template<typename T, unsigned D>
 struct IntersectionOps
 {
@@ -20,6 +17,9 @@ struct IntersectionOps
        static bool combine_surface(bool a, bool b) { return a && b; }
 };
 
+/**
+Forms a shape from the common parts of component shapes.
+*/
 template<typename T, unsigned D>
 class Intersection: public CompositeShape<T, D, IntersectionOps<T, D> >
 {