Ignore:
Timestamp:
08/24/06 22:23:33 (18 years ago)
Author:
bittner
Message:

mlrt 16 ray tracing support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Ray.h

    r1199 r1281  
    317317  SimpleRay(const Vector3 &o, const Vector3 &d, const float p=1.0f): 
    318318        mOrigin(o), mDirection(d), mPdf(p) {} 
     319 
     320  Vector3 Extrap(const float t) { 
     321        return mOrigin + mDirection * t; 
     322  } 
    319323}; 
    320324 
Note: See TracChangeset for help on using the changeset viewer.