Change capitalization of property names

This commit is contained in:
Alexander Bock
2017-07-22 18:22:44 -04:00
parent 04bac9293b
commit 036b271d0d
72 changed files with 363 additions and 365 deletions
@@ -90,8 +90,8 @@ RenderableConstellationBounds::RenderableConstellationBounds(
: Renderable(dictionary)
, _vertexFilename("")
, _constellationFilename("")
, _distance({ "distance", "Distance to the celestial Sphere", "" }, 15.f, 0.f, 30.f) // @TODO Missing documentation
, _constellationSelection({ "constellationSelection", "Constellation Selection", "" }) // @TODO Missing documentation
, _distance({ "Distance", "Distance to the celestial Sphere", "" }, 15.f, 0.f, 30.f) // @TODO Missing documentation
, _constellationSelection({ "ConstellationSelection", "Constellation Selection", "" }) // @TODO Missing documentation
, _vao(0)
, _vbo(0)
{
+5 -5
View File
@@ -121,15 +121,15 @@ documentation::Documentation RenderablePlanet::Documentation() {
RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _colorTexturePath({ "colorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _nightTexturePath({ "nightTexture", "Night Texture", "" }) // @TODO Missing documentation
, _heightMapTexturePath({ "heightMap", "Heightmap Texture", "" }) // @TODO Missing documentation
, _colorTexturePath({ "ColorTexture", "Color Texture", "" }) // @TODO Missing documentation
, _nightTexturePath({ "NightTexture", "Night Texture", "" }) // @TODO Missing documentation
, _heightMapTexturePath({ "HeightMap", "Heightmap Texture", "" }) // @TODO Missing documentation
, _programObject(nullptr)
, _texture(nullptr)
, _nightTexture(nullptr)
, _heightExaggeration({ "heightExaggeration", "Height Exaggeration", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _heightExaggeration({ "HeightExaggeration", "Height Exaggeration", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _geometry(nullptr)
, _performShading({ "performShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _performShading({ "PerformShading", "Perform Shading", "" }, true) // @TODO Missing documentation
, _alpha(1.f)
, _planetRadius(0.f)
, _hasNightTexture(false)
+5 -5
View File
@@ -85,11 +85,11 @@ documentation::Documentation RenderableRings::Documentation() {
RenderableRings::RenderableRings(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _texturePath({ "texture", "Texture", "" }) // @TODO Missing documentation
, _size({ "size", "Size", "" }, 1.f, 0.f, std::pow(1.f, 25.f)) // @TODO Missing documentation
, _offset({ "offset", "Offset", "" }, glm::vec2(0, 1.f), glm::vec2(0.f), glm::vec2(1.f)) // @TODO Missing documentation
, _nightFactor({ "nightFactor", "Night Factor", "" }, 0.33f, 0.f, 1.f) // @TODO Missing documentation
, _transparency({ "transparency", "Transparency", "" }, 0.15f, 0.f, 1.f) // @TODO Missing documentation
, _texturePath({ "Texture", "Texture", "" }) // @TODO Missing documentation
, _size({ "Size", "Size", "" }, 1.f, 0.f, std::pow(1.f, 25.f)) // @TODO Missing documentation
, _offset({ "Offset", "Offset", "" }, glm::vec2(0, 1.f), glm::vec2(0.f), glm::vec2(1.f)) // @TODO Missing documentation
, _nightFactor({ "NightFactor", "Night Factor", "" }, 0.33f, 0.f, 1.f) // @TODO Missing documentation
, _transparency({ "Transparency", "Transparency", "" }, 0.15f, 0.f, 1.f) // @TODO Missing documentation
, _shader(nullptr)
, _texture(nullptr)
, _textureFile(nullptr)
+6 -6
View File
@@ -125,20 +125,20 @@ documentation::Documentation RenderableStars::Documentation() {
RenderableStars::RenderableStars(const ghoul::Dictionary& dictionary)
: Renderable(dictionary)
, _pointSpreadFunctionTexturePath({ "psfTexture", "Point Spread Function Texture", "" }) // @TODO Missing documentation
, _pointSpreadFunctionTexturePath({ "PsfTexture", "Point Spread Function Texture", "" }) // @TODO Missing documentation
, _pointSpreadFunctionTexture(nullptr)
, _pointSpreadFunctionTextureIsDirty(true)
, _colorTexturePath({ "colorTexture", "ColorBV Texture", "" }) // @TODO Missing documentation
, _colorTexturePath({ "ColorTexture", "ColorBV Texture", "" }) // @TODO Missing documentation
, _colorTexture(nullptr)
, _colorTextureIsDirty(true)
, _colorOption(
{ "colorOption", "Color Option", "" }, // @TODO Missing documentation
{ "ColorOption", "Color Option", "" }, // @TODO Missing documentation
properties::OptionProperty::DisplayType::Dropdown
)
, _dataIsDirty(true)
, _alphaValue({ "alphaValue", "Transparency", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _scaleFactor({ "scaleFactor", "Scale Factor", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _minBillboardSize({ "minBillboardSize", "Min Billboard Size", "" }, 1.f, 1.f, 100.f) // @TODO Missing documentation
, _alphaValue({ "AlphaValue", "Transparency", "" }, 1.f, 0.f, 1.f) // @TODO Missing documentation
, _scaleFactor({ "ScaleFactor", "Scale Factor", "" }, 1.f, 0.f, 10.f) // @TODO Missing documentation
, _minBillboardSize({ "MinBillboardSize", "Min Billboard Size", "" }, 1.f, 1.f, 100.f) // @TODO Missing documentation
, _program(nullptr)
, _speckFile("")
, _nValuesPerStar(0)
@@ -39,11 +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;