mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Encapsulate identifier, guiName, and description into a PropertyInfo struct
This commit is contained in:
@@ -39,13 +39,11 @@ namespace openspace::planetgeometry {
|
||||
SimpleSphereGeometry::SimpleSphereGeometry(const ghoul::Dictionary& dictionary)
|
||||
: PlanetGeometry()
|
||||
, _radius(
|
||||
"radius",
|
||||
"Radius",
|
||||
"", // @TODO Missing documentation
|
||||
{ "radius", "Radius", "" }, // @TODO Missing documentation
|
||||
glm::vec3(1.f, 1.f, 1.f),
|
||||
glm::vec3(0.f, 0.f, 0.f),
|
||||
glm::vec3(std::pow(10.f, 20.f), std::pow(10.f, 20.f), std::pow(10.f, 20.f)))
|
||||
, _segments("segments", "Segments", "", 20, 1, 5000) // @TODO Missing documentation
|
||||
, _segments({ "segments", "Segments", "" }, 20, 1, 5000) // @TODO Missing documentation
|
||||
, _sphere(nullptr)
|
||||
{
|
||||
float sphereRadius = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user