OpenSceneGraph/src/osg/FrontFace.cpp

20 lines
227 B
C++
Raw Normal View History

#include <osg/GL>
#include <osg/FrontFace>
2001-09-20 05:19:47 +08:00
using namespace osg;
FrontFace::FrontFace()
{
_mode = COUNTER_CLOCKWISE;
}
FrontFace::~FrontFace()
{
}
void FrontFace::apply(State&) const
{
glFrontFace((GLenum)_mode);
}