Talk:LlVecNorm

From Second Life Wiki
Revision as of 18:28, 10 August 2009 by Strife Onizuka (talk | contribs)
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)