Roman Haefeli wrote: > hi all > > during my trials with gem i made a little set of abstractions, that > hopefully could be usefull when dealing with vectors. at least they have > been for me. > > the set contains: > > [v_+] : adds two vectors > [v_-] : subtracts a vector from another > [v_scale] : scales a vector
funnily enough theses have been part of Gem for a long time. they have been made abstractions and moved to markEx (along with other objects that are not directly related to Gem) > [v_mag] : outputs the magnitude of a vector > [v_normalize] : normalizes a vector (so that its magnitude becomes 1) > [v_x] : computes the cross product of two vectors > [v_rotate] : rotates a vector around another > > let me know if you miss something or if you find it not useable at all. why don't you just make them part of the frank's list-abstractions? mf.asdr IOhannes _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list