mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Coding style fixes
This commit is contained in:
@@ -1073,7 +1073,9 @@ void RenderableStars::render(const RenderData& data, RendererTasks&) {
|
||||
|
||||
float fadeInVariable = 1.f;
|
||||
if (!_disableFadeInDistance) {
|
||||
const float distCamera = static_cast<float>(glm::length(data.camera.positionVec3()));
|
||||
const float distCamera = static_cast<float>(
|
||||
glm::length(data.camera.positionVec3())
|
||||
);
|
||||
const glm::vec2 fadeRange = _fadeInDistances;
|
||||
const double a = 1.f / ((fadeRange.y - fadeRange.x) * PARSEC);
|
||||
const double b = -(fadeRange.x / (fadeRange.y - fadeRange.x));
|
||||
|
||||
Reference in New Issue
Block a user