[PD] boids2d, boids3d

martin.peach at sympatico.ca martin.peach at sympatico.ca
Sat Mar 31 00:10:37 CEST 2007


> I suppose the code was taken from a max object. the problem I saw was, 
> that when you send a message like maxspeed 10 and then dumped the 
> current values, it showed up as maxspeed 1.#inf.
> so that's what I meant with messages get screwed somehow. and I thought 
> that could be a float/int conversion/not conversion problem...

Oh yes, I see what you mean. All the message functions are expecting doubles and pd is sending them floats, because pd, unlike max, doesn't use doubles in messages. I guess I (or someone) will have to change all the doubles to floats in the code.

Martin






More information about the Pd-list mailing list