Difference between revisions of "User talk:Naoya Bellic"

From Second Life Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:


There is a translation issue with [[クォータニオン]]. It wasn't obvious in the [[quaternion|English article]] what was meant and it got lost in translation. <code>quaternion</code> is actually a keyword. I would fix the problem but I do not read or speak Japanese, I've fixed the English article to make it more obvious what was meant. Thank you for your work on the LSL Portal. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 21:52, 21 February 2013 (PST)
There is a translation issue with [[クォータニオン]]. It wasn't obvious in the [[quaternion|English article]] what was meant and it got lost in translation. <code>quaternion</code> is actually a keyword. I would fix the problem but I do not read or speak Japanese, I've fixed the English article to make it more obvious what was meant. Thank you for your work on the LSL Portal. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 21:52, 21 February 2013 (PST)
* Thank you for telling about English document was changed. I re-translated  [[クォータニオン]] ([[quaternion/ja]]) page.  -- [[User:Naoya Bellic|Naoya Bellic]] 15:17, 22 February 2013 (PST)
I'm sorry to bother you again. This is what is meant. You can use rotation or quaternion, both are valid LSL.
<lsl>
rotation a = <0,0,0,1>;
quaternion b = <0,0,0,1>;
//a == b
</lsl>
-- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 21:33, 22 February 2013 (PST)
* (I didn't know "quaternion b;" can compile. It is amazing !) Now, the documents of [[quaternion]] and [[rotation]] are '''mathematical''' (Definition, How to calculate, Relation with vector, etc... are written as quaternions are extended complex numbers.). We should create "LSL quaternion" page and add infomation "LSL rotation" page  '''as LSL data types'''. {{LSLG|Vector|Page of the Vector}} may be helpful. They need that ''"it's a set of four float values", "dot access is supported", "operators", "easy examples" and "useful snippets" ''. -- [[User:Naoya Bellic|Naoya Bellic]] 10:16, 23 February 2013 (PST)
It's one of those obscure language features. The compiler treats "quaternion" as an alternative spelling for "rotation". They are the same type, so we don't need to rehash the [[rotation]] article in [[quaternion]]. We don't advertise the existence of the alias because of it's potential to confuse people. However to be accurate we do have to document it, like the [[print]] keyword. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 23:18, 23 February 2013 (PST)

Latest revision as of 23:18, 23 February 2013

quaternion keyword got lost in translation

There is a translation issue with クォータニオン. It wasn't obvious in the English article what was meant and it got lost in translation. quaternion is actually a keyword. I would fix the problem but I do not read or speak Japanese, I've fixed the English article to make it more obvious what was meant. Thank you for your work on the LSL Portal. -- Strife (talk|contribs) 21:52, 21 February 2013 (PST)

I'm sorry to bother you again. This is what is meant. You can use rotation or quaternion, both are valid LSL. <lsl> rotation a = <0,0,0,1>; quaternion b = <0,0,0,1>; //a == b </lsl> -- Strife (talk|contribs) 21:33, 22 February 2013 (PST)

  • (I didn't know "quaternion b;" can compile. It is amazing !) Now, the documents of quaternion and rotation are mathematical (Definition, How to calculate, Relation with vector, etc... are written as quaternions are extended complex numbers.). We should create "LSL quaternion" page and add infomation "LSL rotation" page as LSL data types. Page of the Vector may be helpful. They need that "it's a set of four float values", "dot access is supported", "operators", "easy examples" and "useful snippets" . -- Naoya Bellic 10:16, 23 February 2013 (PST)

It's one of those obscure language features. The compiler treats "quaternion" as an alternative spelling for "rotation". They are the same type, so we don't need to rehash the rotation article in quaternion. We don't advertise the existence of the alias because of it's potential to confuse people. However to be accurate we do have to document it, like the print keyword. -- Strife (talk|contribs) 23:18, 23 February 2013 (PST)