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/VssRay.h

    r1785 r1824  
    1414class KdNode; 
    1515 
    16 #define ABS_CONTRIBUTION_WEIGHT 0.8f 
     16#define ABS_CONTRIBUTION_WEIGHT 0.5f 
    1717 
    1818class VssRay { 
     
    137137 
    138138  static float VssRay::GetDirParam(const int axis, const Vector3 dir); 
     139  static Vector3 VssRay::GetInvDirParam(const float alpha, const float beta); 
    139140 
    140141  float GetSize() const { return  1.0f/mInvSize; } 
     
    203204  static Vector3 
    204205  GetDirection(const float a, const float b) { 
    205         return Vector3(sin(a), sin(b), cos(a)); 
     206        return GetInvDirParam(a, b); 
     207        //return Vector3(sin(a), sin(b), cos(a)); 
    206208  } 
    207209 
Note: See TracChangeset for help on using the changeset viewer.