Fix code guarded by #ifdef HDR

pull/3/head
Hleb Valoshka 2019-04-29 19:54:16 +03:00
parent c95fe7ee0f
commit bb533bbbf7
1 changed files with 1 additions and 3 deletions

View File

@ -3153,9 +3153,7 @@ void Renderer::draw(const Observer& observer,
posStar = brightestStar->getPosition(now);
}
posStar.x /= scale;
posStar.y /= scale;
posStar.z /= scale;
posStar /= scale;
Vec3d lightToBodyDir = posBody - posStar;
Vec3d bodyToEyeDir = posEye - posBody;