Quaternion type: Difference between revisions

Content added Content deleted
imported>Arakov
Line 3,007: Line 3,007:
=={{header|Elena}}==
=={{header|Elena}}==
{{trans|C#}}
{{trans|C#}}
ELENA 5.0 :
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
{
{
rprop real A;
real A : rprop;
rprop real B;
real B : rprop;
rprop real C;
real C : rprop;
rprop real D;
real D : rprop;
constructor new(a, b, c, d)
constructor new(a, b, c, d)