Changeset 974

Show
Ignore:
Timestamp:
10/18/07 17:04:57 (11 months ago)
Author:
patrick
Message:

Fixed another place where viewport coordinate normalization was duplicated.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/fcptr_stable_jun07/Source/System/Window/Utilities/OSGNavigator.cpp

    r972 r974  
    988988    calcCCtoWCMatrix(cctowc, view, _vp); 
    989989 
    990     Real32 rx = ( toX / (Real32) _vp->getPixelWidth() ) * 2.f - 1.f, 
    991             ry = 1.f - ( toY / (Real32) _vp->getPixelHeight() ) * 2.f
     990    Real32 rx(0.f), ry(0.f); 
     991    _vp->getNormalizedCoordinates(rx, ry, toX, toY)
    992992 
    993993    Pnt3f at;