mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-20 12:50:57 +00:00
requirements for windDeformation unified featuer
This commit is contained in:
parent
5bbbff3219
commit
050d704e77
4 changed files with 123 additions and 3 deletions
|
|
@ -179,3 +179,19 @@ void GenOp::print( Stream &stream )
|
|||
mElemList[i]->print( stream );
|
||||
}
|
||||
}
|
||||
|
||||
CastOp::CastOp(Var* in1, GFXShaderConstType type) : Parent(in1, NULL)
|
||||
{
|
||||
mInput[0] = in1;
|
||||
mConstType = constTypeToString(type);
|
||||
}
|
||||
|
||||
void CastOp::print(Stream& stream)
|
||||
{
|
||||
Var* var = dynamic_cast<Var*>(mInput[0]);
|
||||
|
||||
WRITESTR(mConstType);
|
||||
WRITESTR("( ");
|
||||
mInput[0]->print(stream);
|
||||
WRITESTR(" )");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue