Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gl_tex_coord_gen.H

Go to the documentation of this file.
00001 
00002 /**********************************************************************
00003  * gl_tex_coord_gen.H:
00004  **********************************************************************/
00005 #ifndef GL_TEX_COORD_GEN_H_IS_INCLUDED
00006 #define GL_TEX_COORD_GEN_H_IS_INCLUDED
00007 
00008 #include "mesh/tex_coord_gen.H"
00009 
00010 class GLTexCoordGen : public TexCoordGen {
00011  protected:
00012 
00013  public:
00014 
00015    virtual void setup() {}
00016 
00017    virtual UVpt uv_from_vert(CBvert* v, CBface* f) {
00018       if (UVdata::lookup(f))
00019          return UVdata::get_uv(v,f);
00020    }
00021 };
00022 
00023 #endif // GL_TEX_COORD_GEN_H_IS_INCLUDED
00024 
00025 // end of file gl_tex_coord_gen.H

Generated on Mon Sep 18 11:39:30 2006 for jot by  doxygen 1.4.4