Add geom::sphere primitive

This commit is contained in:
Nikita Lisitsa 2021-07-24 12:00:46 +03:00
parent 3e0060d9cb
commit 47e3970deb

View file

@ -0,0 +1,15 @@
#pragma once
#include <psemek/geom/point.hpp>
namespace psemek::geom
{
template <typename T, std::size_t N>
struct sphere
{
point<T, N> center;
T radius;
};
}