00001 00006 #ifndef TEXTURE_RASTA_H 00007 #define TEXTURE_RASTA_H 00008 00009 00010 00012 00019 class TextureRasterizer { 00020 00021 public : 00022 00024 TextureRasterizer(TextureData *data); 00025 00027 void rasterize(Vector3 &p, int n, int lv, Real lt, int rv, Real rt, Real st); 00028 00029 private : 00030 00032 TextureData *texdata; 00033 00034 }; 00035 00036 00037 inline void 00038 TextureRasterizer::TextureRasterizer(TextureData *data) 00039 : texdata(data) {} 00040 00041 #endif //TEXTURE_RASTA