I've been trying to create a function to act as a static plus or minus sign, but I keep getting an error saying there is an unhandled exception.
Here's the code:
I am seeing a syntax error when functions are defined... as above. I first saw it while trying out
the demo code from the Symmetry pages...
a_from_bAc( _b, _A, _c) = sqrt(_b^2 + _c^2 - 2* _b*_c*cos(_A)) also when I tried the Ack function from the
documentation:
// Ackerman function
ack(m, n) =
if(m == 0,
n+1,
if(n == 0,
ack(m-1, 1),
ack(m-1, ack(m, n-1))
)
)
How did you get the following to work? :
startshape box
sign(n) = if(n>.5,1,-1)
shape box
{
SQUARE[h (2*sign(rand_static(1))) b 1 sat 1]
}
How does this relate to alpha, beta, etc.? I thought I had a recent version; but guess I should download again..
I just checked my download folder and found a ...install3.0beta4.exe dated may 7... Maybe I never ran it..
Just ran it. I'm probably all set.. at least the wallpaper sampler rendered!! as a p1.. Which is what i was
originally trying to accomplish. Thanks. Embarassed....