#include <gl_sphir_tex_coord_gen.H>
Inheritance diagram for GLSphirTexCoordGen:
Public Member Functions | |
virtual void | setup () |
virtual UVpt | uv_from_vert (CBvert *v, CBface *f) |
Protected Member Functions | |
UVpt | compute_uv (CBvert *v) |
UVpt | fix_seems (CUVpt &fix_this_coord, CUVpt &coord2, CUVpt &coord3) |
Definition at line 11 of file gl_sphir_tex_coord_gen.H.
|
Definition at line 12 of file gl_sphir_tex_coord_gen.C. References Bvert::loc(), mlib::Vec3< V >::normalized(), and TWO_PI. Referenced by uv_from_vert(). |
|
Definition at line 10 of file tex_coord_gen.C. Referenced by uv_from_vert(). |
|
Implements TexCoordGen. Definition at line 7 of file gl_sphir_tex_coord_gen.C. |
|
Reimplemented from TexCoordGen. Definition at line 29 of file gl_sphir_tex_coord_gen.C. References compute_uv(), TexCoordGen::fix_seems(), Bface::v1(), Bface::v2(), and Bface::v3(). |