OpenSceneGraph/src/osg/BlendFunc.cpp
Robert Osfield 12226e4371 Converted the instances of const built in types being returned from methods
and passed as paramters into straight forward non const built in types,
i.e. const bool foogbar(const int) becomes bool foobar(int).
2002-09-02 12:31:35 +00:00

20 lines
286 B
C++

#include <osg/BlendFunc>
using namespace osg;
BlendFunc::BlendFunc()
{
_source_factor = SRC_ALPHA;
_destination_factor = ONE_MINUS_SRC_ALPHA;
}
BlendFunc::~BlendFunc()
{
}
void BlendFunc::apply(State&) const
{
glBlendFunc( _source_factor, _destination_factor );
}