CutThroat Neko
Member
I've just scratch my head around a weird issue coming from macro and brackets to find out that it may not be weird at all, but I would like a confirmation.
Doing this :
will return v = 1
but adding brackets to the division held in the macro :
will result v = 2
I guess that's the expected behavior as the documentation give the example of having a random blending color each time the macro is called :
But well, in order to be sure ...
Doing this :
Code:
#macro val 5/2
v = 10 / val
but adding brackets to the division held in the macro :
Code:
#macro val (5 / 2)
v = 10 / val
I guess that's the expected behavior as the documentation give the example of having a random blending color each time the macro is called :
Code:
#macro col make_colour_hsv(irandom(255), 255, 255)
But well, in order to be sure ...