Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
444 B

#include "pch.cpp"
#pragma hdrstop
#include "glrend.h"
#include "util.h"
GlMatrix::GlMatrix(GlWindow* pgwin)
{
_pgwin = pgwin;
_dm = dmIdentity;
}
void GlMatrix::Release(void)
{
delete this;
}
D3DMATRIXHANDLE GlMatrix::Handle(void)
{
return (D3DMATRIXHANDLE)&_dm;
}
void GlMatrix::Get(D3DMATRIX* pdm)
{
*pdm = _dm;
}
void GlMatrix::Set(D3DMATRIX* pdm)
{
_dm = *pdm;
_pgwin->MatrixChanged((float *)&_dm);
}