Ignore:
Timestamp:
11/28/06 19:46:36 (18 years ago)
Author:
bittner
Message:

global lines support

File:
1 edited

Legend:

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

    r1359 r1824  
    17511751          origin = GetBBox(leaf).GetRandomPoint(); 
    17521752          Vector3 dirVector = GetDirBBox(leaf).GetRandomPoint(); 
    1753           direction = Vector3(sin(dirVector.x), sin(dirVector.y), cos(dirVector.x)); 
     1753          direction = VssRay::GetInvDirParam(dirVector.x,dirVector.y); 
    17541754        } 
    17551755        //cout<<"dir vector.x="<<dirVector.x<<"direction'.x="<<atan2(direction.x, direction.y)<<endl; 
Note: See TracChangeset for help on using the changeset viewer.