Merge branch 'fix-fmod' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-fmod
This commit is contained in:
@@ -365,7 +365,7 @@ void ShaderGenerator::ProcessGroupMath(Box* box, Node* node, Value& value)
|
|||||||
case 40:
|
case 40:
|
||||||
{
|
{
|
||||||
Value v1 = tryGetValue(node->GetBox(0), Value::Zero);
|
Value v1 = tryGetValue(node->GetBox(0), Value::Zero);
|
||||||
Value v2 = tryGetValue(node->GetBox(1), Value::Zero);
|
Value v2 = tryGetValue(node->GetBox(1), 1, Value::Zero);
|
||||||
value = writeFunction2(node, v1, v2, TEXT("fmod"));
|
value = writeFunction2(node, v1, v2, TEXT("fmod"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user