public static void FromRotateByX(RadianF angle, out QuaternionF result) { Matrix3F.FromRotateByX(angle, out var mat); mat.ToQuaternion(out result); }
///////////////////////////////////////// public static QuaternionF FromRotateByX(RadianF angle) { Matrix3F.FromRotateByX(angle, out var mat); return(mat.ToQuaternion()); }