From Marco Jez, added missing TexGenNode constructor.

This commit is contained in:
Robert Osfield
2004-09-06 14:30:25 +00:00
parent f4839d7158
commit a36b10ac24

View File

@@ -30,6 +30,14 @@ TexGenNode::TexGenNode(const TexGenNode& cn, const CopyOp& copyop):
{
}
TexGenNode::TexGenNode(TexGen *texgen)
{
_textureUnit = 0;
_value = StateAttribute::ON;
_stateset = new StateSet;
_texgen = texgen;
}
TexGenNode::~TexGenNode()
{
}