Fixed bug with constellation labels : row vectors were used while Eigen uses column vectors
parent
56cd9f8382
commit
6ab2e08c41
|
@ -9819,7 +9819,7 @@ void Renderer::labelConstellations(const AsterismList& asterisms,
|
|||
|
||||
Vector3f rpos = avg - observerPos;
|
||||
|
||||
if ((observer.getOrientationf().conjugate() * rpos).z() < 0)
|
||||
if ((observer.getOrientationf() * rpos).z() < 0)
|
||||
{
|
||||
// We'll linearly fade the labels as a function of the
|
||||
// observer's distance to the origin of coordinates:
|
||||
|
|
Loading…
Reference in New Issue