mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Cleanup of code
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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{};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user