|
|
Am 26.11.2016 um 14:30 schrieb clipka:
> The proper solution is to redefine the macro to include the intended
> parentheses:
>
> #macro OTO_Get_Offset(Cell)
> #local CX = Cell.x;
> #local CY = Cell.y;
> ( (1-Bev*2)*<1,1,0>*(.5-OTO_FOffs(CX,CY,0)) )
> #end
... or use the "result variable" idiom:
#macro OTO_Get_Offset(Cell)
#local CX = Cell.x;
#local CY = Cell.y;
#local result = (1-Bev*2)*<1,1,0>*(.5-OTO_FOffs(CX,CY,0));
result
#end
Post a reply to this message
|
|