My first blog entry, yay!
An idea I had for a script: two-dimentional vectors. I wrote the scripts a few months ago (yeah, months) and I decided to go back to it and check it out. I guess I should have expected this: The script was crap. In a complex operation, it would check to see if the same vector existed four times. I decided to rewrite the script with the assumption that the user would be smart enough to not try to perform a dot product operation with a vector that doesn't exist. If they aren't smart enough to avoid that, then they shouldn't use the script.Anyways, I'm planning on making an example program using this script, but I'll release the script now and worry about the example later.Here's the file, enjoy:2DVectors.gml
I see.
Now, make a script for 3D Vectors.LOL?
It shouldn't be too hard, just a little modification of the 2D vector script and it will work perfectly. I don't really need to do it though, Yourself already has a script for that.
Yourself's 3D Vector Script