Don't click here unless you want to be banned.

LSL Wiki : ZERO_VECTOR

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
vector ZERO_VECTOR

The vector <0.0, 0.0, 0.0>.

Q: Is there any reason to use <0.0, 0.0, 0.0> over "<0,0,0>"?
A: Either will work. Integers are implicitly cast to floats by the compiler (which will cost you 2 bytes per float -- if you're watching memory, this is an easy fix that could save you many bytes). But really all you need is a zero and a decimal to indicate a float.


Constants
There are 5 comments on this page. [Display comments/form]