librtl

shadowfeeler.h

This is the verbatim text of the shadowfeeler.h include file.
#ifndef shadowfeeler_h
#define shadowfeeler_h

#include "ray.h"
#include "light.h"


class rtl_shadowfeeler : public rtl_ray
{
public:

    rtl_shadowfeeler( rtl_object*, const jVec3&, rtl_light* );


    jFlt maxtime() const { return max_time; }


    jFlt trace();


    const rtl_subobject* objecthit() const { return object_hit; }


    const rtl_light* light() const { return lt; }


    jFlt energy() const { return e; }


    static const rtl_shadowfeeler* Tracing;

private:

    jFlt e;
    jFlt max_time;
    rtl_light* lt;
    const rtl_subobject* object_hit;
    
};

#endif

JSP / librtl v0.2 mtigges@cpsc.ucalgary.ca