Tformvector help

Blitz3D Forums/Blitz3D Programming/Tformvector help

I'll explain my problem in detail :)
I have my particle system where the emission dir is defined by the Z vector(-1) and use random XY (rnd(X,-X),rnd(Y,-Y)) to modify the emission cone.

Suppose I need the emission cone direction aligned to a vector that is pointing to the right; this way XY should become ZY.

The fastest way to transform XY to ZY ?