Show
Ignore:
Timestamp:
08/26/04 18:20:26 (10 years ago)
Author:
robert
Message:

Improvements to handling of winding of polygons.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/obj/obj.h

    r3323 r3325  
    160160    void addElement(Element* element); 
    161161     
     162    osg::Vec3 averageNormal(const Element& element) const; 
     163    osg::Vec3 computeNormal(const Element& element) const; 
     164    bool needReverse(const Element& element) const; 
     165     
    162166    int remapVertexIndex(int vi) { return (vi<0) ? vertices.size()+vi : vi-1; } 
    163167    int remapNormalIndex(int vi) { return (vi<0) ? normals.size()+vi : vi-1; }