Forums > Jitter

expression inside jit.expr

February 25, 2009 | 11:10 am

Hi,

I need this expression to work inside [jit.expr]:

x * 1. / √(x^2 + y^2)

here is what I’ve done without success:

[jit.expr "in[0].p[0] * (1./sqrt((pow(in[0].p[0] ,2.)+(pow(in[0].p[1] , 2)))"]

any help would be greatly appreciated.

Thanks.


February 25, 2009 | 12:23 pm

It is OK
In fact I forgot the @expr


Viewing 2 posts - 1 through 2 (of 2 total)