vector functions View Mod
3 vector lambda functions:

(intVectorX vector) -> x coordinate of the vector
(intVectorY vector) -> y coordinate of the vector
(intCreateVector x y) -> vector defined with coordinates instead of angle and radius.

All distances are in lightseconds. I will probably add more functions when I need them...

BTW, due to various roundoff errors of built-in vector functions, these functions are by no means very accurate. Especially since they use lightseconds and that's quite inaccurate already. Expect both coordinates to sometimes give +1/-1 lightseconds of error.
Categories Developers Vault
Author Apemant
Rating 0   0
Added (Last modified) 04.10.2008 (11.02.2009)
Game Version 0.99c
Filesize 503 B
Downloads 1376
Download Download
digdug 05.10.2008 16:38

very cool! :)

You must be logged in to post comments!