private Quaternion ( float w, float x, float y, float z ) : System | ||
w | float | |
x | float | |
y | float | |
z | float | |
return | System |
internal Quaternion(float w, float x, float y, float z)
{
this.w = w;
if (x == 0.0f && y == 0.0f && z == 0.0f)
{
Debug.WriteLine("Quaternion with axis not well defined!");
}
this.x = x; this.y = y; this.z = z;
}
Quaternion::Quaternion ( float angleDegree, vec3 axis ) : System |