libjbt

bumpmap.h

This is the verbatim text of the bumpmap.h include file.

#ifndef jbt_bumpmap_h
#define jbt_bumpmap_h

#include "ngnode.h"


class jbt_bumpmap : public jbt_ngnode
{
public:
    

    jbt_bumpmap( const jImage&, jbt_blobtree* );
    
    void setScale( jFlt _k ) { k = _k; }

    jbt_blobtree::Type type() const { return jbt_blobtree::jbtBumpMap; }

protected:
    
    void normal( jNorm3& );

    jImage img;
    jFlt k;
};

#endif

JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca