Hi,
I am able to create formula nodes with multiple inputs and a single expression
in the "box". But for several complicated expressions involving sqrt() and
trig functions, I want to use a formula node with multiple inputs, a single
output, and several (3 to 4) temporary variables within the formula node. Can
this be done?
An example (not actual code) of my expression in the node box is shown below.
---------------------------------------
A --> | double dval1, dval2, dval3; |
| |--> D
B --> | dval1 = sin( A*A - B ); |
| dval2 = cos( sqrt( A*B ) - B*B ); |
C --> | dval3 = atan( 23 + C*C ); |
|
|
| D = dval1 + dval2*dval2 - dval3; |
---------------------------------------
Why does this approach generate errors?
--
Mike