10{
11 float quo = 0;
12
13 if (inputPins[0]->IsLinked())
14 {
15 quo = inputPins[0]->other->Evaluate(input).value;
16 }
17
18 else
19 {
20 quo = value1;
21 }
22
23 float tmp = 1;
24
25 if (inputPins[1]->IsLinked())
26 {
27 tmp = inputPins[1]->other->Evaluate(input).value;
28 }
29
30 else
31 {
32 tmp = value2;
33 }
34
35 if (tmp == 0)
36 {
37 tmp = 1;
38 }
39
40 quo = quo / tmp;
42}