Ignore:
Timestamp:
09/17/08 19:35:11 (16 years ago)
Author:
mattausch
Message:

implemented sun color

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp

    r2951 r2954  
    389389 
    390390 
    391 void Bvh::UpdateMinDistance(BvhNode *node) const 
    392 { 
    393         node->mDistance = node->GetBox().GetMinDistance(sNearPlane); 
     391void Bvh::UpdateDistance(BvhNode *node) const 
     392{ 
     393        //node->mDistance = node->GetBox()GetMinDistance(sNearPlane); 
     394        node->mDistance = sNearPlane.Distance(node->GetBox().Center()); 
    394395} 
    395396 
Note: See TracChangeset for help on using the changeset viewer.