public static Quaternion FromAxisAngle(AxisAngle aa) { double angle = aa.Angle * 0.5; double sinAngle = System.Math.Sin(angle); var xyz = aa.Axis * sinAngle; var w = System.Math.Cos(angle); return new Quaternion(xyz.X, xyz.Y, xyz.Z, w); }
public AxisAngle(AxisAngle a) : base(a) { }