Hi,
I started learning Lite-C some days ago and now I am working on a small test project. Everything was fine and working, but then I wanted to make the code more beautiful and readable by replacing everything that was seperate xyz coordinates before by VECTORS...a work of minutes as I thought.
Many confused hours later I realized that everytime I use vec math functions (vec_sub and so on), the source vector is overwritten.
So before every f*****g calculation I have to make copy of that vector to work with.
And those vector math functions really suck, vec_scale doesn't accept a negative factor for Example.
Before I start re-writing my whole script, is there a reason for using a vectors instead of a set of 3 variables for xyz?