Talk:LlGetSunDirection: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
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...
(No difference)

Revision as of 21:40, 13 May 2009

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)