aac507e119
MacOS.
21 lines
269 B
C++
21 lines
269 B
C++
#include <osg/GL>
|
|
#include <osg/TexMat>
|
|
|
|
using namespace osg;
|
|
|
|
TexMat::TexMat()
|
|
{
|
|
}
|
|
|
|
|
|
TexMat::~TexMat()
|
|
{
|
|
}
|
|
|
|
void TexMat::apply(State&) const
|
|
{
|
|
glMatrixMode( GL_TEXTURE );
|
|
glLoadMatrixf( _matrix.ptr() );
|
|
glMatrixMode( GL_MODELVIEW ); // fix! GWM Aug 2001
|
|
}
|