From Eric Wing, fixed typo induced bug.

This commit is contained in:
Robert Osfield
2005-12-07 11:38:39 +00:00
parent 3f3c7b1df8
commit be850746e4

View File

@@ -233,7 +233,7 @@ osg::Node* createTile(const std::string& filename, bool leftHemisphere, double x
min_dot = osg::minimum(normal*n01,min_dot);
float angle = acosf(min_dot)+osg::PI*0.5f;
float deviation = (angle<osg::PI) ? deviation = cosf(angle) : -1.0f;
float deviation = (angle<osg::PI) ? cosf(angle) : -1.0f;
osg::ClusterCullingCallback* ccc = new osg::ClusterCullingCallback;
ccc->setControlPoint(center);