Files
OpenSceneGraph/src/osg/CullFace.cpp
2001-10-21 21:27:40 +00:00

20 lines
207 B
C++

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