wrap float matrix
Hiya!
I'm looking for a way to wrap the data in a float matrix. The matrix
contains values which define particles. I would like to define a
"cube" where if a particle exits its bounds, it comes in on the other
side.
grtz.
Brecht.
Howdy Brecht,
my email is fuck*ng fuck*d up, totally screw*d, so sorry for the lack of example patch.
You can use wrap&fold op's for jit.op or jit.expr:
jit.expr @expr wrap(in[0] , someValue)
or
jit.op @expr wrap @val someValue
best,
nesa
Cheers Nesa,
I'll give that a go!