sculpto
sphere.h
Go to the documentation of this file.
1/*!****************************************************************//*!*
2 * \file sphere.h
3 * \brief Topology sphere object class implementation module.
4 *
5 * \author Sabitov Kirill
6 * \date 30 June 2022
7 *********************************************************************/
8
9#pragma once
10
11#include "grid.h"
12
13namespace scl::topology
14{
16 class sphere : public grid
17 {
18 public:
19 /*!*
20 * Sphere topolgy obejct constructor by center point and radius.
21 *
22 * \param Center - sphere center point.
23 * \param Radius - sphere radius.
24 * \param Slices - sphere mesh slices count.
25 */
26 sphere(const vec3 &Center, float Radius, int Slices);
27
29 ~sphere() override = default;
30 };
31}
~sphere() override=default
sphere(const vec3 &Center, float Radius, int Slices)
Definition: sphere.cpp:12
Topology grid object class definition module.