1 #ifndef MSP_GL_TEXGEN_H_
2 #define MSP_GL_TEXGEN_H_
10 enum TexCoordComponent
20 EYE_LINEAR = GL_EYE_LINEAR,
21 OBJECT_LINEAR = GL_OBJECT_LINEAR,
22 REFLECTION_MAP = GL_REFLECTION_MAP,
23 NORMAL_MAP = GL_NORMAL_MAP
35 void set_mode(TexGenMode);
36 void set_plane(const Vector4 &);
38 void bind_to(TexCoordComponent) const;
40 static const TexGen *current(TexCoordComponent);
41 static void unbind_from(TexCoordComponent);
43 static unsigned coord_index(TexCoordComponent);