Added a new osgDB::appendPlatformSpecificLibraryFilePaths() method to FileUtils.cpp
Includes a new OSX code from Eric Wing
This commit is contained in:
@@ -495,7 +495,7 @@ osg::Vec3 Model::computeNormal(const Element& element) const
|
||||
|
||||
bool Model::needReverse(const Element& element) const
|
||||
{
|
||||
if (element.normalIndices.empty()) return true;
|
||||
if (element.normalIndices.empty()) return false;
|
||||
|
||||
return computeNormal(element)*averageNormal(element) < 0.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user