Fixed bug with constellation labels : row vectors were used while Eigen uses column vectors

pull/3/head
Vincent Giangiulio 2009-10-16 16:33:35 +00:00
parent 56cd9f8382
commit 6ab2e08c41
1 changed files with 1 additions and 1 deletions

View File

@ -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: