Exemple #1
0
 public static void FromRotateByX(RadianF angle, out QuaternionF result)
 {
     Matrix3F.FromRotateByX(angle, out var mat);
     mat.ToQuaternion(out result);
 }
Exemple #2
0
        /////////////////////////////////////////

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