OpenSceneGraph/src/osg/ShadeModel.cpp

20 lines
223 B
C++
Raw Normal View History

#include <osg/GL>
#include <osg/ShadeModel>
using namespace osg;
ShadeModel::ShadeModel()
{
_mode = SMOOTH;
}
ShadeModel::~ShadeModel()
{
}
void ShadeModel::apply(State&) const
{
glShadeModel((GLenum)_mode);
}