Quaternion type: Difference between revisions
Content added Content deleted
Drkameleon (talk | contribs) |
imported>Arakov |
||
Line 3,007: | Line 3,007: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
{{trans|C#}} |
{{trans|C#}} |
||
ELENA |
ELENA 6.x : |
||
<syntaxhighlight lang="elena">import system'math; |
<syntaxhighlight lang="elena">import system'math; |
||
import extensions; |
import extensions; |
||
Line 3,014: | Line 3,014: | ||
struct Quaternion |
struct Quaternion |
||
{ |
{ |
||
real A : rprop; |
|||
real B : rprop; |
|||
real C : rprop; |
|||
real D : rprop; |
|||
constructor new(a, b, c, d) |
constructor new(a, b, c, d) |