diff --git a/libs/geom/include/psemek/geom/math.hpp b/libs/geom/include/psemek/geom/math.hpp new file mode 100644 index 00000000..3890085a --- /dev/null +++ b/libs/geom/include/psemek/geom/math.hpp @@ -0,0 +1,12 @@ +#pragma once + +namespace psemek::geom +{ + + template + auto sqr(T const & x) + { + return x * x; + } + +}