Talk:LlVecNorm

From Second Life Wiki
Revision as of 02:25, 11 August 2009 by Zai Lynch (talk | contribs) (→‎minimum magnitude)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

minimum magnitude

The vectors passed to llVecNorm() seem to need a minimum magnitude to be calculated correctly. <lsl>default {

   state_entry(){
       llOwnerSay((string)llVecNorm(<0.0,0.0,0.0000002>));
       llOwnerSay((string)llVecNorm(<0.0,0.0,0.0000001>));
   }

}</lsl> gives

Object: <0.00000, 0.00000, 1.00000>
Object: <0.00000, 0.00000, 0.00000>

Caveat or bug? --Zai signature.png (talk|contribs) 14:16, 10 August 2009 (UTC)

Bug. -- Strife (talk|contribs) 02:28, 11 August 2009 (UTC)
OK, reported @ SVC-4711. --Zai signature.png (talk|contribs) 10:25, 11 August 2009 (UTC)