Talk:LlGetSunDirection

From Second Life Wiki
Revision as of 21:40, 13 May 2009 by Francoise Eichel (talk | contribs) (New page: In the first example to "quickly determine whether it is day or night" you see the first line read as : <B>integer lightsOn = -1;//not TRUE or FALSE</B> I think its a very bad idea to l...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the first example to "quickly determine whether it is day or night" you see the first line read as :

integer lightsOn = -1;//not TRUE or FALSE

I think its a very bad idea to label -1 as FALSE in capital in the comment, since FALSE is 0 in LSL and in most if not all programming languages

the comment should simply read "// lights off", this would be clear and wouldn't require any modification to the code

--Francoise Eichel 04:40, 14 May 2009 (UTC)