atan2 in jit.expr


    Apr 28 2010 | 10:21 am
    Hi,
    Could someone point out how to use atan2 within an expression for jit.expr? atan2(in[0].p[0] in[0].p[1]) doesn't seem to be the way to do it...
    Thx! Brecht

    • Apr 28 2010 | 1:46 pm
      it probably needs comma, in max5 you can type it in quotes:
      jit.expr @expr "atan2(in[0].p[0], in[0].p[1])"
      hth,<