Initial revision

This commit is contained in:
Don BURNS
2001-01-10 16:32:10 +00:00
parent 7c12eb9361
commit 70208ebc06
461 changed files with 70936 additions and 0 deletions

25
src/osg/TexMat.cpp Normal file
View File

@@ -0,0 +1,25 @@
#include "osg/GL"
#include "osg/TexMat"
using namespace osg;
TexMat::TexMat( void )
{
}
TexMat::~TexMat( void )
{
}
TexMat* TexMat::instance()
{
static ref_ptr<TexMat> s_texmat(new TexMat);
return s_texmat.get();
}
void TexMat::apply( void )
{
glMatrixMode( GL_TEXTURE );
glLoadMatrixf( (GLfloat *)_mat );
}