Ignore:
Timestamp:
09/27/06 17:20:00 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp

    r1486 r1521  
    1414#include "GlRenderer.h" 
    1515#include "Intersectable.h" 
    16 #ifdef GTP_INTERNAL 
    17 #include "ArchModeler2MLRT.hxx" 
    18 #endif 
     16#include "RayCaster.h" 
     17 
    1918 
    2019namespace GtpVisibilityPreprocessor { 
     
    488487                        Vector3 direction = GetDirection(viewpoint, &mViewSpaceBox); 
    489488 
    490                         sampleContributions = CastRay(viewpoint, direction, 1, mVssRays, mViewSpaceBox); 
     489                        sampleContributions = mRayCaster->CastRay(viewpoint, direction, 1, mVssRays, mViewSpaceBox, true); 
    491490 
    492491                        if (sampleContributions) { 
     
    617616 
    618617        for (int i=0; i < rays.size(); i++) 
    619           CastRay(rays[i].mOrigin, rays[i].mDirection, 1, vssRays, mViewSpaceBox); 
     618        { 
     619                mRayCaster->CastRay(rays[i].mOrigin, rays[i].mDirection, 1, vssRays, mViewSpaceBox, true); 
     620        } 
    620621 
    621622        vssTree->AddRays(vssRays); 
Note: See TracChangeset for help on using the changeset viewer.