Commit 7a8d9f18 authored by Jan Möbius's avatar Jan Möbius
Browse files

updated documentation

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5654 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4f2f2af9
......@@ -835,6 +835,7 @@ draw(GLState& _state, unsigned int _drawMode)
}
// Textured by using coordinates stored in halfedges
// TODO: Check not only mesh_.has_halfedge_texcoords2D but check if custom property is available
if ( ( _drawMode & DrawModes::SOLID_2DTEXTURED_FACE ) && mesh_.has_halfedge_texcoords2D())
{
glEnable(GL_TEXTURE_2D);
......@@ -847,6 +848,7 @@ draw(GLState& _state, unsigned int _drawMode)
}
// Textured by using coordinates stored in halfedges
// TODO: Check not only mesh_.has_halfedge_texcoords2D but check if custom property is available
if ( ( _drawMode & DrawModes::SOLID_2DTEXTURED_FACE_SHADED ) && mesh_.has_halfedge_texcoords2D() && mesh_.has_face_normals())
{
glEnable(GL_TEXTURE_2D);
......
......@@ -128,7 +128,7 @@ public:
/** \brief Set default property name to get texture coordinates for per face texcoords
*
* Property has to be ACG::Vec2d as a halfedge property describing vertex coordinates for
* Property has to be Mesh::TexCoord2D as a halfedge property describing vertex coordinates for
* to Vertex per face. Defaults to h:texcoords2D
*/
void set_default_halfedge_textcoord_property( std::string _default_halfedge_textcoord_property )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment