Cleanup of code

This commit is contained in:
Wilhelm Björkström
2025-05-20 11:13:23 +02:00
parent 4d3f52a591
commit 52989d522c
2 changed files with 11 additions and 11 deletions

View File

@@ -59,11 +59,11 @@ namespace {
};
constexpr openspace::properties::Property::PropertyInfo ColorTextureInfo = {
"ColorMap",
"Color Texture",
"The path to the texture that is used to convert from the magnitude of the star "
"to its color. The texture is used as a one dimensional lookup function.",
openspace::properties::Property::Visibility::AdvancedUser
"ColorMap",
"Color Texture",
"The path to the texture that is used to convert from the magnitude of the star "
"to its color. The texture is used as a one dimensional lookup function.",
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo BlackHoleTypeInfo = {

View File

@@ -54,11 +54,11 @@ namespace openspace {
std::unique_ptr<ghoul::opengl::ProgramObject> _cullProgram = nullptr;
glm::dvec3 _chachedTranslation{};
glm::dvec3 _chacedCameraPos{};
static constexpr size_t _rayCount{ 250 };
static constexpr size_t _rayCountHighRes{ 500 };
static constexpr size_t _rayCount{ 300 };
static constexpr size_t _rayCountHighRes{ 750 };
static constexpr size_t _stepsCount = 100000;
static constexpr float _stepLength = 0.0001f;
static constexpr size_t _mapCount = 3;
static constexpr size_t _mapCount = 5;
properties::FloatProperty _solarMass;
properties::FloatProperty _kerrRotation;
@@ -95,9 +95,9 @@ namespace openspace {
{ BlackHoleType::schwarzschild, { "schwarzschild", "BlackHoleProgram" } }
};
float _rs = 1.0f;
float _rEnvmap = 60.0f;
float _rCamera = 20.0f;
float _rs;
float _rEnvmap;
float _rCamera;
ViewPort _viewport{};