i wasn't aware of that when i wrote this post. i used the d3dx matrix functions before in lite-c so i thought the vector functions are there too. i simply used the gamestudio vec_ functions then. it doesn't make much difference. you just have to do conversions at some places where a d3dx vector is needed as a function parameter.