Encapsulate identifier, guiName, and description into a PropertyInfo struct

This commit is contained in:
Alexander Bock
2017-07-22 17:36:03 -04:00
parent b584f0197e
commit 04bac9293b
76 changed files with 422 additions and 539 deletions
@@ -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;