Difference between revisions of "Category talk:Wizardry and Steamworks"

From Second Life Wiki
Jump to navigation Jump to search
m (3-Term Logical Disjunction Using Vectors)
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
integer Q = !(integer)(I * I);//this is a cheat and computationally more expensive but oh so elegant.</lsl>
integer Q = !(integer)(I * I);//this is a cheat and computationally more expensive but oh so elegant.</lsl>
-- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 23:19, 26 November 2011 (PST)
-- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 23:19, 26 November 2011 (PST)
=== Cool ===
Added, thanks!
Kira Komarov 12:56, 14 January 2012 (PST)

Revision as of 15:56, 3 June 2012

3-Term Logical Disjunction Using Vectors

I'm a bit confused why there is so much extra logic in the Universal NOR, the following gives the same value to Q. <lsl>integer Q = !((integer)I.x || (integer)I.y || (integer)I.z); //or even integer Q = !(integer)(I * I);//this is a cheat and computationally more expensive but oh so elegant.</lsl> -- Strife (talk|contribs) 23:19, 26 November 2011 (PST)

Cool

Added, thanks!

Kira Komarov 12:56, 14 January 2012 (PST)