Fix code guarded by #ifdef HDR
parent
c95fe7ee0f
commit
bb533bbbf7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue