Class SphereGeometry#
Defined in File StaticGeometry.h
Inheritance Relationships#
Base Type#
public Karana::Scene::AbstractStaticGeometry(Class AbstractStaticGeometry)
Class Documentation#
-
class SphereGeometry : public Karana::Scene::AbstractStaticGeometry#
Concrete cylinder geometry class.
Public Functions
-
SphereGeometry(float radius)#
Constructor from a radius.
- Parameters:
radius – radius of the sphere
-
SphereGeometry(const SphereGeometry&)#
Copy constructor.
-
SphereGeometry &operator=(const SphereGeometry&) = delete#
-
SphereGeometry(SphereGeometry&&) = delete#
-
SphereGeometry &operator=(SphereGeometry&&) = delete#
-
virtual operator StaticMeshGeometry() const override#
Convert to a triangular mesh.
- Returns:
The converted mesh
Public Members
-
const float radius#
radius of the sphere
-
SphereGeometry(float radius)#