Tesla Graphics Engine Documentation (January 2012)
Quaternion Constructor (x, y, z, w)
Tesla
►
Tesla.Math
►
Quaternion
►
Quaternion(Single, Single, Single, Single)
C#
Creates a new instance of Quaternion.
Declaration Syntax
C#
public
Quaternion
(
float
x
,
float
y
,
float
z
,
float
w
)
Parameters
x
(
Single
)
X component of the vector part
y
(
Single
)
Y component of the vector part
z
(
Single
)
Z component of the vector part
w
(
Single
)
Rotation component
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)